Kraken\Console\Client\Command\Command::informServer PHP Метод

informServer() защищенный Метод

protected informServer ( $commandParent, $commandName, $commandParams = [] )
    protected function informServer($commandParent, $commandName, $commandParams = [])
    {
        $protocol = $this->channel->createProtocol(new RuntimeCommand($commandName, $commandParams));
        if ($commandParent !== null) {
            $protocol->setDestination($commandParent);
        }
        $req = new Request($this->channel, $this->receiver, $protocol, ['timeout' => 2, 'retriesLimit' => 10, 'retriesInterval' => 1]);
        return $req->call();
    }