Example #1
0
 /**
  * Commits a given transaction. This is required to make sure that the 
  * transaction is closed.
  * 
  * @return void
  */
 public function commit()
 {
     if ($this->driver->isTransactionRunning()) {
         $this->driver->commit();
     }
 }
 public function commitTransaction()
 {
     $this->driver->commit();
 }