class FulltextGambit implements GambitInterface

Properties

protected UserRepository $users

Methods

__construct(UserRepository $users)

No description

bool
apply(SearchState $search, $searchValue)

Apply conditions to the searcher for a bit of the search string.

Details

__construct(UserRepository $users)

Parameters

UserRepository $users

bool apply(SearchState $search, $searchValue)

Apply conditions to the searcher for a bit of the search string.

Parameters

SearchState $search
$searchValue

Return Value

bool Whether or not the gambit was active for this bit.