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