Kraken\Channel\Router\RuleMatch\RuleMatchDestination::__invoke PHP Méthode

__invoke() public méthode

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