Kraken\Ipc\Zmq\ZmqContext::__call PHP Method

__call() public method

public __call ( string $method, mixed[] $args ) : ZmqSocket | mixed
$method string
$args mixed[]
return ZmqSocket | mixed
    public function __call($method, $args)
    {
        $res = call_user_func_array([$this->context, $method], $args);
        if ($res instanceof RawZMQSocket) {
            $res = $this->wrapSocket($res);
        }
        return $res;
    }