Example #1
0
 public function rollback()
 {
     $hash = spl_object_hash($this->databaseContext);
     if (isset(self::$transactions[$hash])) {
         $this->databaseContext->rollback();
         unset(self::$transactions[$hash]);
     }
 }