public function rollBack()
    {
        try {
            $this->rows = $this->snapshot;

            $this->storeAllTables();

            $this->snapshot = [];
        } catch (\Exception $e) {
            throw new \RuntimeException('Rollback failed: ' . $e->getMessage(), 0, $e);
        }
    }
public function rollBack()
    {
        try {
            $this->rows = $this->snapshot;

            $this->storeAllTables();

            $this->snapshot = [];
        } catch (\Exception $e) {
            throw new \RuntimeException('Rollback failed: ' . $e->getMessage(), 0, $e);
        }
    }
public function rollBack ( ) { try { $ this -> rows = $ this -> snapshot ; $ this -> storeAllTables ( ) ; $ this -> snapshot = [ ] ; } catch ( \ Exception $ e ) { throw new \ RuntimeException ( 'Rollback failed: ' . $ e -> getMessage ( ) , 0 , $ e ) ; } }
Roll back the changes

@return  void
@throws  \RuntimeException  on failure
Roll back the changes