| 1 | <?php |
||
| 15 | class CatalogService extends BaseService implements ListableService |
||
| 16 | { |
||
| 17 | use IdentifiableList, PaginableList; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Catalog[] |
||
| 21 | */ |
||
| 22 | protected $entities = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Catalog $catalog |
||
| 26 | */ |
||
| 27 | 5 | public function add(EntityInterface $catalog) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return array|bool |
||
| 36 | */ |
||
| 37 | 2 | public function getList() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @deprecated |
||
| 52 | * |
||
| 53 | * @param int|null |
||
| 54 | * |
||
| 55 | * @return array|bool |
||
| 56 | */ |
||
| 57 | 1 | public function lists($id = null) |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @param $array |
||
| 68 | * |
||
| 69 | * @return Catalog |
||
| 70 | */ |
||
| 71 | 5 | public function parseArrayToEntity($array) |
|
| 78 | |||
| 79 | /** |
||
| 80 | * @return string |
||
| 81 | */ |
||
| 82 | 5 | protected function getLink() |
|
| 86 | |||
| 87 | } |