interface FilterInterface

Methods

string
getFilterKey()

This filter will only be run when a query contains a filter param with this key.

void
filter(SearchState $state, string|array $value, bool $negate)

Filters a query.

Details

string getFilterKey()

This filter will only be run when a query contains a filter param with this key.

Return Value

string

void filter(SearchState $state, string|array $value, bool $negate)

Filters a query.

Parameters

SearchState $state
string|array $value
bool $negate

Return Value

void