public function subscribe($channelOrChannels)
    {
        if (!is_array($channelOrChannels)) {
            $channels = array($channelOrChannels);
        } else {
            $channels = $channelOrChannels;
        }

        $this->_execCommand(self::SUBSCRIBE, $channels);

        return $this;
    }
public function subscribe($channelOrChannels)
    {
        if (!is_array($channelOrChannels)) {
            $channels = array($channelOrChannels);
        } else {
            $channels = $channelOrChannels;
        }

        $this->_execCommand(self::SUBSCRIBE, $channels);

        return $this;
    }
public function subscribe ( $ channelOrChannels ) { if ( ! is_array ( $ channelOrChannels ) ) { $ channels = array ( $ channelOrChannels ) ; } else { $ channels = $ channelOrChannels ; } $ this -> _execCommand ( self :: SUBSCRIBE , $ channels ) ; return $ this ; }
Subscribe to channel or channels

@param string|array $channelOrChannels Channel name or names
@return Rediska_PubSub_Channel
Subscribe to channel or channels