1 | <?php |
||
21 | abstract class AbstractManager extends ManagerAbstract implements ManagerInterface |
||
22 | { |
||
23 | 5 | protected function fetchDefaultParameters() |
|
24 | { |
||
25 | return [ |
||
26 | 5 | 'buId' => 'ZT', |
|
27 | 'orderStartDate' => null, |
||
28 | ]; |
||
29 | } |
||
30 | |||
31 | 18 | public function factoryMap($operation, array $parameters = null) |
|
35 | |||
36 | /** |
||
37 | * @codeCoverageIgnore |
||
38 | * |
||
39 | * @return Gpupo\Common\Entity\CollectionAbstract|null|false |
||
40 | */ |
||
41 | protected function fetchPrepare($data) |
||
49 | |||
50 | 4 | protected function factoryEntityCollection($data) |
|
54 | |||
55 | 1 | public function save(EntityInterface $entity, $route = 'save') |
|
59 | |||
60 | /** |
||
61 | * @return Gpupo\Common\Entity\CollectionAbstract|false |
||
62 | */ |
||
63 | 4 | public function findById($itemId) |
|
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | * |
||
77 | * @codeCoverageIgnore |
||
78 | */ |
||
79 | public function update(EntityInterface $entity, EntityInterface $existent = null) |
||
88 | } |
||
89 |