interface Parser

Methods

array
parseQuery(string $query, boolean $fulltext = true)

Parse query string into separate words with wildcards if applicable.

string
stripWildcards(string $word)

Strip wildcard tokens from the word.

array
parseWeights(array|string $columns)

Parse searchable columns.

Details

at line 12
array parseQuery(string $query, boolean $fulltext = true)

Parse query string into separate words with wildcards if applicable.

Parameters

string $query
boolean $fulltext

Return Value

array

at line 20
string stripWildcards(string $word)

Strip wildcard tokens from the word.

Parameters

string $word

Return Value

string

at line 28
array parseWeights(array|string $columns)

Parse searchable columns.

Parameters

array|string $columns

Return Value

array