Kraken\Channel\Router\RuleMatch\RuleMatchName::__invoke PHP Method

__invoke() public method

public __invoke ( string $name, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean
$name string
$protocol Kraken\Channel\Protocol\ProtocolInterface
return boolean
    public function __invoke($name, ProtocolInterface $protocol)
    {
        return StringSupport::match($this->name, $name);
    }