public function move ($destination , $item) {
        if ($destination instanceof ARedisSet) {
            $destination->_count = null;
            $destination->_data = null;
            $destination = $destination->name;
        }
        $this->_count = null;
        $this->_data = null;
        return $this->getConnection ()->getClient ()->smove ($this->name , $destination , $item);
    }
public function move ($destination , $item) {
        if ($destination instanceof ARedisSet) {
            $destination->_count = null;
            $destination->_data = null;
            $destination = $destination->name;
        }
        $this->_count = null;
        $this->_data = null;
        return $this->getConnection ()->getClient ()->smove ($this->name , $destination , $item);
    }
public function move ( $ destination , $ item ) { if ( $ destination instanceof ARedisSet ) { $ destination -> _count = null ; $ destination -> _data = null ; $ destination = $ destination -> name ; } $ this -> _count = null ; $ this -> _data = null ; return $ this -> getConnection ( ) -> getClient ( ) -> smove ( $ this -> name , $ destination , $ item ) ; }
Moves an item from this redis set to another
@param ARedisSet|string $destination the set to move the item to
@param mixed $item the item to move
@return boolean true if the item was moved successfully
Moves an item from this redis set to another