Ejemplo n.º 1
0
 /**
  * Get channels by connection
  * 
  * @param $connection
  * @return array
  */
 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()];
 }