Predis\PubSub\DispatcherLoop::getPubSubConsumer PHP Method

getPubSubConsumer() public method

Returns the underlying PUB / SUB context.
public getPubSubConsumer ( ) : Consumer
return Consumer
    public function getPubSubConsumer()
    {
        return $this->pubsub;
    }