You are here

public function ObjectManager::flush in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::flush()

Flushes all changes to objects that have been queued up to now to the database. This effectively synchronizes the in-memory state of managed objects with the database.

Return value

void

1 method overrides ObjectManager::flush()
ObjectManagerDecorator::flush in vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php
Flushes all changes to objects that have been queued up to now to the database. This effectively synchronizes the in-memory state of managed objects with the database.

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php, line 120

Class

ObjectManager
Contract for a Doctrine persistence layer ObjectManager class to implement.

Namespace

Doctrine\Common\Persistence

Code

public function flush();