Kraken\Ipc\Zmq\ZmqSocket::subscribe PHP Method

subscribe() public method

Subscribe socket to channel.
public subscribe ( mixed $channel )
$channel mixed
    public function subscribe($channel)
    {
        $this->socket->setSockOpt(ZMQ::SOCKOPT_SUBSCRIBE, $channel);
    }