1 | <?php |
||
13 | class CatalogService extends BaseService |
||
14 | { |
||
15 | /** |
||
16 | * @var \linkprofit\AmoCRM\entities\Catalog[] |
||
17 | */ |
||
18 | protected $entities = []; |
||
19 | |||
20 | /** |
||
21 | * @param \linkprofit\AmoCRM\entities\EntityInterface|Catalog $catalog |
||
22 | */ |
||
23 | 4 | public function add(EntityInterface $catalog) |
|
29 | |||
30 | 1 | public function lists($id = null) |
|
38 | |||
39 | /** |
||
40 | * @param $array |
||
41 | * |
||
42 | * @return Catalog |
||
43 | */ |
||
44 | 4 | public function parseArrayToEntity($array) |
|
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 4 | protected function getLink() |
|
59 | |||
60 | } |