interface GambitInterface

Methods

bool
apply(SearchState $search, string $bit)

<p>Apply conditions to the searcher for a bit of the search string.</p>

Details

bool apply(SearchState $search, string $bit)

<p>Apply conditions to the searcher for a bit of the search string.</p>

Parameters

SearchState $search
string $bit <p>The piece of the search string.</p>

Return Value

bool <p>Whether or not the gambit was active for this bit.</p>