1 | <?php |
||
22 | class QueryBuilderFilterSet implements QueryBuilderFilterSetInterface { |
||
23 | |||
24 | /** |
||
25 | * Filters. |
||
26 | * |
||
27 | * @var QueryBuilderFilterInterface[] |
||
28 | */ |
||
29 | private $filters; |
||
30 | |||
31 | /** |
||
32 | * Constructor. |
||
33 | */ |
||
34 | public function __construct() { |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | public function addFilter(QueryBuilderFilterInterface $filter) { |
||
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | public function getDecorator($id) { |
||
56 | |||
57 | /** |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | public function getFilter($id) { |
||
66 | |||
67 | /** |
||
68 | * {@inheritDoc} |
||
69 | */ |
||
70 | public function getFilters() { |
||
73 | |||
74 | /** |
||
75 | * Serialize this instance. |
||
76 | * |
||
77 | * @return array Returns an array representing this instance. |
||
78 | */ |
||
79 | public function jsonSerialize() { |
||
82 | |||
83 | /** |
||
84 | * {@inheritDoc} |
||
85 | */ |
||
86 | public function removeFilter(QueryBuilderFilterInterface $filter) { |
||
92 | |||
93 | /** |
||
94 | * Set the filters. |
||
95 | * |
||
96 | * @param QueryBuilderFilterInterface[] $filters The filters. |
||
97 | * @return QueryBuilderFilterSetInterface Returns this filter set. |
||
98 | */ |
||
99 | protected function setFilters(array $filters) { |
||
103 | } |
||
104 |