Nextras\Orm\Mapper\IMapper::flush PHP 메소드

flush() 공개 메소드

또한 보기: IRepository::flush()
public flush ( ) : void
리턴 void
    public function flush();

Usage Example

예제 #1
0
파일: Repository.php 프로젝트: Vyki/orm
 /** @inheritdoc */
 public function processFlush()
 {
     $this->mapper->flush();
     $this->onFlush($this->entitiesToFlush[0], $this->entitiesToFlush[1]);
     $entities = $this->entitiesToFlush;
     $this->entitiesToFlush = [[], []];
     return $entities;
 }