flush() публичный Метод

Flushes all persisted changes in all repositories.
public flush ( )
Пример #1
0
 public function removeEntity(bool $flush = FALSE)
 {
     $this->repository->remove($this->entity, TRUE);
     if ($flush) {
         $this->repository->flush();
     }
 }