src/Transaction/MultiExec.php
public function multi()
    {
        if ($this->state->check(MultiExecState::INITIALIZED | MultiExecState::CAS)) {
            $this->state->unflag(MultiExecState::CAS);
            $this->call('MULTI');
        } else {
            $this->initialize();
        }

        return $this;
    }
public function multi()
    {
        if ($this->state->check(MultiExecState::INITIALIZED | MultiExecState::CAS)) {
            $this->state->unflag(MultiExecState::CAS);
            $this->call('MULTI');
        } else {
            $this->initialize();
        }

        return $this;
    }
public function multi ( ) { if ( $ this -> state -> check ( MultiExecState :: INITIALIZED | MultiExecState :: CAS ) ) { $ this -> state -> unflag ( MultiExecState :: CAS ) ; $ this -> call ( 'MULTI' ) ; } else { $ this -> initialize ( ) ; } return $ this ; }
Finalizes the transaction by executing MULTI on the server.

@return MultiExec
Finalizes the transaction by executing MULTI on the server .