| 1 | <?php |
||
| 24 | class QueryFilterCollection extends AbstractCollection implements |
||
| 25 | QueryFilterCollectionInterface, |
||
| 26 | CollectionInterface |
||
| 27 | { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Add a filter to this filter collection |
||
| 31 | * |
||
| 32 | * @param QueryFilterInterface $filter |
||
| 33 | * |
||
| 34 | * @return $this|self|QueryFilterCollectionInterface |
||
| 35 | */ |
||
| 36 | 2 | public function add(QueryFilterInterface $filter) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Applies the filter to the provided query |
||
| 44 | * |
||
| 45 | * @param QueryObjectInterface $query |
||
| 46 | * |
||
| 47 | * @return $this|self|QueryFilterCollectionInterface |
||
| 48 | */ |
||
| 49 | 4 | public function apply(QueryObjectInterface $query) |
|
| 57 | } |