public function on($aliasOrConnection)
    {
        if ($aliasOrConnection instanceof Rediska_Connection) {
            $connection = $aliasOrConnection;
        } else {
            $alias = $aliasOrConnection;
            $connection = $this->getConnectionByAlias($alias);
        }

        $this->_specifiedConnection->setConnection($connection);

        return $this->_specifiedConnection;
    }
public function on($aliasOrConnection)
    {
        if ($aliasOrConnection instanceof Rediska_Connection) {
            $connection = $aliasOrConnection;
        } else {
            $alias = $aliasOrConnection;
            $connection = $this->getConnectionByAlias($alias);
        }

        $this->_specifiedConnection->setConnection($connection);

        return $this->_specifiedConnection;
    }
public function on ( $ aliasOrConnection ) { if ( $ aliasOrConnection instanceof Rediska_Connection ) { $ connection = $ aliasOrConnection ; } else { $ alias = $ aliasOrConnection ; $ connection = $ this -> getConnectionByAlias ( $ alias ) ; } $ this -> _specifiedConnection -> setConnection ( $ connection ) ; return $ this -> _specifiedConnection ; }
Chain method to work with keys on specified by alias server

@param $aliasOrConnection Alias or Rediska_Connection object
@return Rediska_Connection_Specified
Chain method to work with keys on specified by alias server