class FulltextGambit implements GambitInterface

Methods

bool
apply(AbstractSearch $search, string $bit)

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

Details

bool apply(AbstractSearch $search, string $bit)

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

Parameters

AbstractSearch $search
string $bit The piece of the search string.

Return Value

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