Kraken\Channel\Router\RuleMatch\RuleMatchException::__invoke PHP Метод

__invoke() публичный Метод

public __invoke ( string $exception, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean
$exception string
$protocol Kraken\Channel\Protocol\ProtocolInterface
Результат boolean
    public function __invoke($exception, ProtocolInterface $protocol)
    {
        return StringSupport::match($this->exception, $protocol->getException());
    }