1 | <?php |
||
10 | abstract class AbstractStore implements StoreInterface |
||
11 | { |
||
12 | /** |
||
13 | * Iterate collection and apply decorators based on action. |
||
14 | * |
||
15 | * @param \Percy\Entity\Collection $collection |
||
16 | * @param integer $action |
||
17 | * |
||
18 | * @return boolean |
||
19 | */ |
||
20 | protected function decorate(Collection $collection, $action) |
||
26 | |||
27 | /** |
||
28 | * Invoke callable decorator on entity. |
||
29 | * |
||
30 | * @param string $decorator |
||
31 | * @param array $properties |
||
32 | * @param \Percy\Entity\EntityInterface $entity |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | protected function invokeDecorators($decorator, array $properties, EntityInterface $entity) |
||
48 | |||
49 | /** |
||
50 | * Iterate collection and validate data. |
||
51 | * |
||
52 | * @param \Percy\EntityCollection $collection |
||
53 | * |
||
54 | * @return boolean |
||
55 | */ |
||
56 | public function validate(Collection $collection) |
||
60 | } |
||
61 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.