library/Rediska/Command/MoveToSet.php
public function create($fromKey, $toKey, $member)
    {        
        $fromKeyConnection = $this->_rediska->getConnectionByKeyName($fromKey);
        $toKeyConnection = $this->_rediska->getConnectionByKeyName($toKey);
        
        $member = $this->_rediska->getSerializer()->serialize($member);

        if ($fromKeyConnection === $toKeyConnection) {
            $command = array('SMOVE',
                             $this->_rediska->getOption('namespace') . $fromKey,
                             $this->_rediska->getOption('namespace') . $toKey,
                             $member);
        } else {
            $this->setAtomic(false);
            $command = array('SISMEMBER',
                             $this->_rediska->getOption('namespace') . $fromKey,
                             $member);
        }

        return new Rediska_Connection_Exec($fromKeyConnection, $command);
    }
public function create($fromKey, $toKey, $member)
    {        
        $fromKeyConnection = $this->_rediska->getConnectionByKeyName($fromKey);
        $toKeyConnection = $this->_rediska->getConnectionByKeyName($toKey);
        
        $member = $this->_rediska->getSerializer()->serialize($member);

        if ($fromKeyConnection === $toKeyConnection) {
            $command = array('SMOVE',
                             $this->_rediska->getOption('namespace') . $fromKey,
                             $this->_rediska->getOption('namespace') . $toKey,
                             $member);
        } else {
            $this->setAtomic(false);
            $command = array('SISMEMBER',
                             $this->_rediska->getOption('namespace') . $fromKey,
                             $member);
        }

        return new Rediska_Connection_Exec($fromKeyConnection, $command);
    }
Create command

@param string $fromKey From key name
@param string $toKey   To key name
@param mixed  $member  Member
@return Rediska_Connection_Exec