1 | <?php |
||
16 | class LeadService extends BaseService |
||
17 | { |
||
18 | use IdentifiableList, |
||
19 | TermList, |
||
20 | PaginableList; |
||
21 | |||
22 | /** |
||
23 | * @var Lead[] |
||
24 | */ |
||
25 | protected $entities = []; |
||
26 | |||
27 | /** |
||
28 | * @param Lead $lead |
||
29 | */ |
||
30 | 4 | public function add(EntityInterface $lead) |
|
36 | |||
37 | /** |
||
38 | * @param $link |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | protected function composeListLink($link) |
||
52 | |||
53 | /** |
||
54 | * @param $array |
||
55 | * @return Lead |
||
56 | */ |
||
57 | 4 | public function parseArrayToEntity($array) |
|
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | 4 | protected function getLink() |
|
72 | |||
73 | } |