flush() public method

Flushes all persisted changes in all repositories.
public flush ( )
コード例 #1
0
ファイル: Container.php プロジェクト: ytnuk/orm
 public function removeEntity(bool $flush = FALSE)
 {
     $this->repository->remove($this->entity, TRUE);
     if ($flush) {
         $this->repository->flush();
     }
 }