public function createSubscriber(array $channels): WatchdogSubscriber
    {
        $redis = clone $this->redis;

        $redis->disconnect();
        $redis->connect();

        return new WatchdogSubscriber($redis, $channels);
    }
public function createSubscriber(array $channels): WatchdogSubscriber
    {
        $redis = clone $this->redis;

        $redis->disconnect();
        $redis->connect();

        return new WatchdogSubscriber($redis, $channels);
    }
public function createSubscriber ( array $ channels ) : WatchdogSubscriber { $ redis = clone $ this -> redis ; $ redis -> disconnect ( ) ; $ redis -> connect ( ) ; return new WatchdogSubscriber ( $ redis , $ channels ) ; }
Factory method to create a new Subscriber instance.

NOTE: use separate connections for pub and sub.
@link https://stackoverflow.com/questions/22668244/should-i-use-separate-connections-for-pub-and-sub-with-redis

@param  array $channels An array of channels to subscribe to.
@return WatchdogSubscriber

@throws \Qless\Exceptions\RedisConnectionException
Factory method to create a new Subscriber instance .