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