/** * Commit all changes * * @param mixed $object * @param bool $refresh * * @throws Exception\DoctrineSearchException */ public function flush($object = null, $refresh = false) { $this->unitOfWork->commit($object, $refresh); }
/** * Commit all changes */ public function flush($object = null) { $this->unitOfWork->commit($object); }