public function ObjectManager::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
1 method overrides ObjectManager::flush()
- ObjectManagerDecorator::flush in lib/
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
- lib/
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\PersistenceCode
public function flush();