Kraken\Channel\Router\RouterRule::match PHP Метод

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

Match given message protocol.
public match ( string $sender, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean
$sender string
$protocol Kraken\Channel\Protocol\ProtocolInterface
Результат boolean
    public function match($sender, ProtocolInterface $protocol)
    {
        $callback = $this->matcher;
        return $callback($sender, $protocol);
    }