| 1 | <?php |
||
| 7 | class FilterModelCollection implements FilterModelCollectionInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var FilterModelInterface[] |
||
| 11 | */ |
||
| 12 | protected $filterModels; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param FilterModelInterface[] $filterModels |
||
| 16 | */ |
||
| 17 | 7 | public function __construct(array $filterModels = []) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | */ |
||
| 30 | 3 | public function getImposedModels() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | 6 | public function getFilterModels() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | 5 | public function addFilterModel(FilterModelInterface $filterModel) |
|
| 57 | } |
||
| 58 |