flush() 공개 메소드

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();
     }
 }