library/Rediska/Command/Quit.php
public function create() 
    {
        $command = array('QUIT');

        $this->_affectedConnections = $this->_rediska->getConnections();

        $commands = array();
        foreach($this->_affectedConnections as $connection) {
            $commands[] = new Rediska_Connection_Exec($connection, $command);
        }

        return $commands;
    }
public function create() 
    {
        $command = array('QUIT');

        $this->_affectedConnections = $this->_rediska->getConnections();

        $commands = array();
        foreach($this->_affectedConnections as $connection) {
            $commands[] = new Rediska_Connection_Exec($connection, $command);
        }

        return $commands;
    }
Create command

@return Rediska_Connection_Exec