Nextras\Orm\Mapper\IMapper::flush PHP Method

flush() public method

See also: IRepository::flush()
public flush ( ) : void
return 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;
 }