| 1 | <?php |
||
| 12 | class CriteriaCollection extends AbstractCollection implements CriteriaCollectionInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param CriteriaInterface[] $criteria array or \Traversable object |
||
| 16 | */ |
||
| 17 | 42 | public function __construct($criteria = []) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | 3 | public function getApplicableCriteria() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 3 | public function getCriteria() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 4 | public function addCriteria(CriteriaInterface $criteria) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 15 | protected function isItemValid($item) |
|
| 58 | } |
||
| 59 |