commit() публичный Метод

When the commit fails, no changes in this transaction will be applied (and those that had already been applied will be undone). False will be returned in that case.
public commit ( ) : boolean
Результат boolean
Пример #1
0
 /**
  * Commits all deferred updates to real cache.
  * that had already been written to will be deleted.
  *
  * @return bool
  */
 public function commit()
 {
     $this->clear();
     return $this->defer->commit();
 }