1 | <?php |
||
5 | class Lead extends AbstractObject |
||
6 | { |
||
7 | /** |
||
8 | * Insert new lead. |
||
9 | * |
||
10 | * @param $params |
||
11 | */ |
||
12 | public function create(array $params) |
||
18 | |||
19 | /** |
||
20 | * Check if lead already exists on SF. |
||
21 | * |
||
22 | * @param string $phone |
||
23 | * @param string $email |
||
24 | * |
||
25 | * @return bool|array |
||
26 | */ |
||
27 | public function exists($phone = null, $email = null) |
||
50 | } |
||
51 |