class FulltextFilter extends AbstractFulltextFilter

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.

void
search( SearchState $state, string $value)

Matches the text anywhere in a username, so part of a name finds them, with usernames that start with it first.

__construct( UserRepository $users)

No description

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

Matches the text anywhere in a username, so part of a name finds them, with usernames that start with it first.

Parameters

SearchState $state
string $value

Return Value

void

__construct( UserRepository $users)

Parameters

UserRepository $users