Property | Type | Description | |
---|---|---|---|
$pattern | string | The regex pattern to match the bit against. |
Method | Description | |
---|---|---|
apply ( |
Method | Description | |
---|---|---|
conditions ( |
Apply conditions to the search, given that the gambit was matched. | |
match ( string $bit ) : array | Match the bit against this gambit. |
abstract protected conditions ( |
||
$search | The search object. | |
$matches | array | An array of matches from the search bit. |
$negate | boolean | Whether or not the bit was negated, and thus whether or not the conditions should be negated. |
return | mixed |
protected string $pattern | ||
return | string |