You are here

public function ObjectManagerDecorator::flush in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php \Doctrine\Common\Persistence\ObjectManagerDecorator::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

Overrides ObjectManager::flush

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php, line 96

Class

ObjectManagerDecorator
Base class to simplify ObjectManager decorators

Namespace

Doctrine\Common\Persistence

Code

public function flush() {
  return $this->wrapped
    ->flush();
}