| 1 | <?php |
||
| 13 | class CatalogService extends BaseService |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var Catalog[] |
||
| 17 | */ |
||
| 18 | protected $entities = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Catalog $catalog |
||
| 22 | */ |
||
| 23 | 4 | public function add(EntityInterface $catalog) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param null $id |
||
| 32 | * |
||
| 33 | * @return array|bool |
||
| 34 | */ |
||
| 35 | 1 | public function lists($id = null) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param $array |
||
| 51 | * |
||
| 52 | * @return Catalog |
||
| 53 | */ |
||
| 54 | 4 | public function parseArrayToEntity($array) |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | 4 | protected function getLink() |
|
| 69 | |||
| 70 | } |