class CreatedFilterGambit extends AbstractRegexGambit implements FilterInterface
Traits
Methods
bool
apply(SearchState $search, string $bit)
<p>Apply conditions to the searcher for a bit of the search string.</p>
from AbstractRegexGambit
mixed
conditions(SearchState $search, array $matches, bool $negate)
<p>Apply conditions to the search, given that the gambit was matched.</p>
array
asStringArray($filterValue, bool $multidimensional = false)
No description
from ValidateFilterTrait
string
getFilterKey()
<p>This filter will only be run when a query contains a filter param with this key.</p>
Details
at
line 27
getGambitPattern()
<p>The regex pattern to match the bit against.</p>
in AbstractRegexGambit
at
line 22
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|null
match(string $bit)
<p>Match the bit against this gambit.</p>
at
line 35
protected mixed
conditions(SearchState $search, array $matches, bool $negate)
<p>Apply conditions to the search, given that the gambit was matched.</p>
in ValidateFilterTrait
at
line 21
protected array
asStringArray($filterValue, bool $multidimensional = false)
in ValidateFilterTrait
at
line 43
protected string
asString($filterValue)
in ValidateFilterTrait
at
line 55
protected int
asInt($filterValue)
in ValidateFilterTrait
at
line 68
protected array
asIntArray($filterValue)
in ValidateFilterTrait
at
line 78
protected bool
asBool($filterValue)
at
line 40
string
getFilterKey()
<p>This filter will only be run when a query contains a filter param with this key.</p>
at
line 45
filter(FilterState $filterState, string $filterValue, bool $negate)
<p>Filters a query.</p>