Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace CirrusSearch\Query\Builder; |
4 | |
5 | /** |
6 | * A filter added as context to the search query |
7 | */ |
8 | interface ContextualFilter { |
9 | /** |
10 | * @param FilterBuilder $builder |
11 | */ |
12 | public function populate( FilterBuilder $builder ); |
13 | |
14 | /** |
15 | * @return int[]|null a list of namespace, an empty array for all namespaces or null |
16 | * if no extra namespaces are required. |
17 | */ |
18 | public function requiredNamespaces(); |
19 | } |