public function read()
    {
        $responses = array();

        if (!$this->_isWritten) {
            throw new Rediska_Command_Exception('You need write before');
        }

        foreach ($this->_execs as $exec) {
            $responses[] = $exec->read();
        }

        if (isset($responses[0]) && $responses[0] === self::QUEUED) {
            $this->_isQueued = true;

            return true;
        } else {
            $this->_isWritten = false;
            return $this->parseResponses($responses);
        }
    }
public function read()
    {
        $responses = array();

        if (!$this->_isWritten) {
            throw new Rediska_Command_Exception('You need write before');
        }

        foreach ($this->_execs as $exec) {
            $responses[] = $exec->read();
        }

        if (isset($responses[0]) && $responses[0] === self::QUEUED) {
            $this->_isQueued = true;

            return true;
        } else {
            $this->_isWritten = false;
            return $this->parseResponses($responses);
        }
    }
public function read ( ) { $ responses = array ( ) ; if ( ! $ this -> _isWritten ) { throw new Rediska_Command_Exception ( 'You need write before' ) ; } foreach ( $ this -> _execs as $ exec ) { $ responses [ ] = $ exec -> read ( ) ; } if ( isset ( $ responses [ 0 ] ) && $ responses [ 0 ] === self :: QUEUED ) { $ this -> _isQueued = true ; return true ; } else { $ this -> _isWritten = false ; return $ this -> parseResponses ( $ responses ) ; } }
Read reponses from connection

@return array
Read reponses from connection