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