class GroupFilterGambit extends AbstractRegexGambit implements FilterInterface
Methods
bool
apply(SearchState $search, string $bit)
Apply conditions to the searcher for a bit of the search string.
from AbstractRegexGambit
mixed
conditions(SearchState $search, array $matches, bool $negate)
Apply conditions to the search, given that the gambit was matched.
string
getFilterKey()
This filter will only be run when a query contains a filter param with this key.
Details
at
line 25
getGambitPattern()
The regex pattern to match the bit against.
in AbstractRegexGambit
at
line 22
bool
apply(SearchState $search, string $bit)
Apply conditions to the searcher for a bit of the search string.
in AbstractRegexGambit
at
line 39
protected array
match(string $bit)
Match the bit against this gambit.
at
line 33
protected mixed
conditions(SearchState $search, array $matches, bool $negate)
Apply conditions to the search, given that the gambit was matched.
at
line 38
string
getFilterKey()
This filter will only be run when a query contains a filter param with this key.
at
line 43
filter(FilterState $filterState, string $filterValue, bool $negate)
Filters a query.