1 | <?php |
||
5 | class CriteriaCollection implements CriteriaCollectionInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var CriterionInterface[] |
||
9 | */ |
||
10 | protected $criteria; |
||
11 | |||
12 | /** |
||
13 | * @param CriterionInterface $criterion |
||
14 | * |
||
15 | * @return $this |
||
16 | */ |
||
17 | public function add(CriterionInterface $criterion) |
||
23 | |||
24 | /** |
||
25 | * @return $this |
||
26 | */ |
||
27 | public function reset() |
||
33 | |||
34 | /** |
||
35 | * @return CriterionInterface[] |
||
36 | */ |
||
37 | public function getAll() |
||
41 | } |
||
42 |