public function subscribe($channelOrChannels, $timeout = null)
    {
        return new Rediska_PubSub_Channel($channelOrChannels, array(
            'rediska'       => $this,
            'timeout'       => $timeout,
            'serverAlias'   => $this->_specifiedConnection->getConnection()
        ));
    }
public function subscribe($channelOrChannels, $timeout = null)
    {
        return new Rediska_PubSub_Channel($channelOrChannels, array(
            'rediska'       => $this,
            'timeout'       => $timeout,
            'serverAlias'   => $this->_specifiedConnection->getConnection()
        ));
    }
public function subscribe ( $ channelOrChannels , $ timeout = null ) { return new Rediska_PubSub_Channel ( $ channelOrChannels , array ( 'rediska' => $ this , 'timeout' => $ timeout , 'serverAlias' => $ this -> _specifiedConnection -> getConnection ( ) ) ) ; }
Subscribe to PubSub channel or channels

@param string|array      $channelOrChannels
@param integer[optional] $timeout
@return Rediska_PubSub_Channel
Subscribe to PubSub channel or channels