src/Common/Service/PDODatabase.php
public function transactionRollback()
    {
        if (empty($this->oDb)) {
            $this->connect();
        }

        try {

            $this->oDb->rollback();
            $this->transactionRunning = false;

            return true;

        } catch (\Exception $e) {
            throw new TransactionException($e->getMessage(), $e->getCode());
        }
    }
public function transactionRollback()
    {
        if (empty($this->oDb)) {
            $this->connect();
        }

        try {

            $this->oDb->rollback();
            $this->transactionRunning = false;

            return true;

        } catch (\Exception $e) {
            throw new TransactionException($e->getMessage(), $e->getCode());
        }
    }
public function transactionRollback ( ) { if ( empty ( $ this -> oDb ) ) { $ this -> connect ( ) ; } try { $ this -> oDb -> rollback ( ) ; $ this -> transactionRunning = false ; return true ; } catch ( \ Exception $ e ) { throw new TransactionException ( $ e -> getMessage ( ) , $ e -> getCode ( ) ) ; } }
Rollsback a DB transaction

@return boolean
@throws TransactionException
Rollsback a DB transaction