MatthiasMullie\Scrapbook\Buffered\Utils\Transaction::commit PHP Метод

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

that had already been written to will be deleted.
public commit ( ) : boolean
Результат boolean
    public function commit()
    {
        $this->clear();
        return $this->defer->commit();
    }

Usage Example

Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function flush()
 {
     $result = $this->transaction->flush();
     $this->transaction->commit();
     return $result;
 }