| 1 | <?php |
||
| 12 | abstract class AbstractStore implements StoreInterface |
||
| 13 | { |
||
| 14 | use DecoratorTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \Aura\Filter\FilterFactory |
||
| 18 | */ |
||
| 19 | protected $filter; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Construct. |
||
| 23 | * |
||
| 24 | * @param \Aura\Filter\FilterFactory |
||
| 25 | */ |
||
| 26 | public function __construct(FilterFactory $filter) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Iterate collection and validate data. |
||
| 33 | * |
||
| 34 | * @param \Percy\Entity\Collection $collection |
||
| 35 | * |
||
| 36 | * @throws \Percy\Exception\ValidationException when first validation failure occurs |
||
| 37 | * |
||
| 38 | * @return boolean |
||
| 39 | */ |
||
| 40 | public function validate(Collection $collection) |
||
| 67 | } |
||
| 68 |