Flarum\Core\Search\AbstractRegexGambit::conditions PHP 메소드

conditions() 추상적인 보호된 메소드

Apply conditions to the search, given that the gambit was matched.
abstract protected conditions ( AbstractSearch $search, array $matches, boolean $negate ) : mixed
$search AbstractSearch 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.
리턴 mixed
    protected abstract function conditions(AbstractSearch $search, array $matches, $negate);
AbstractRegexGambit