public function getChannelsByConnection(Rediska_Connection $connection)
    {
        if (!isset($this->_channelsByConnections[$connection->getAlias()])) {
            throw new Rediska_PubSub_Exception("Channels by this connection not present");
        }

        return $this->_channelsByConnections[$connection->getAlias()];
    }
public function getChannelsByConnection(Rediska_Connection $connection)
    {
        if (!isset($this->_channelsByConnections[$connection->getAlias()])) {
            throw new Rediska_PubSub_Exception("Channels by this connection not present");
        }

        return $this->_channelsByConnections[$connection->getAlias()];
    }
public function getChannelsByConnection ( Rediska_Connection $ connection ) { if ( ! isset ( $ this -> _channelsByConnections [ $ connection -> getAlias ( ) ] ) ) { throw new Rediska_PubSub_Exception ( "Channels by this connection not present" ) ; } return $ this -> _channelsByConnections [ $ connection -> getAlias ( ) ] ; }
Get channels by connection

@param $connection
@return array
Get channels by connection