MatthiasMullie\Scrapbook\Buffered\Utils\Transaction::commit PHP Method

commit() public method

that had already been written to will be deleted.
public commit ( ) : boolean
return boolean
    public function commit()
    {
        $this->clear();
        return $this->defer->commit();
    }

Usage Example

 /**
  * {@inheritdoc}
  */
 public function flush()
 {
     $result = $this->transaction->flush();
     $this->transaction->commit();
     return $result;
 }