public function execute()
    {
        $results = array();

        if (!empty($this->_commands)) {
            $this->_rediska->getProfiler()->start($this);

            foreach($this->_commands as $command) {
                $command->write();
            }

            foreach($this->_commands as $command) {
                $results[] = $command->read();
            }

            $this->_rediska->getProfiler()->stop();
        }

        return $results;
    }
public function execute()
    {
        $results = array();

        if (!empty($this->_commands)) {
            $this->_rediska->getProfiler()->start($this);

            foreach($this->_commands as $command) {
                $command->write();
            }

            foreach($this->_commands as $command) {
                $results[] = $command->read();
            }

            $this->_rediska->getProfiler()->stop();
        }

        return $results;
    }
public function execute ( ) { $ results = array ( ) ; if ( ! empty ( $ this -> _commands ) ) { $ this -> _rediska -> getProfiler ( ) -> start ( $ this ) ; foreach ( $ this -> _commands as $ command ) { $ command -> write ( ) ; } foreach ( $ this -> _commands as $ command ) { $ results [ ] = $ command -> read ( ) ; } $ this -> _rediska -> getProfiler ( ) -> stop ( ) ; } return $ results ; }
Execute pipelined commands

@return array
Execute pipelined commands