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

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

public __invoke ( string $name, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean
$name string
$protocol Kraken\Channel\Protocol\ProtocolInterface
Результат boolean
    public function __invoke($name, ProtocolInterface $protocol)
    {
        return !call_user_func_array($this->rule, [$name, $protocol]);
    }