public function ObjectManagerDecorator::flush in Plug 7
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
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php, line 96
Class
- ObjectManagerDecorator
- Base class to simplify ObjectManager decorators
Namespace
Doctrine\Common\PersistenceCode
public function flush() {
return $this->wrapped
->flush();
}