public function ObjectManager::refresh in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::refresh()
Refreshes the persistent state of an object from the database, overriding any local changes that have not yet been persisted.
Parameters
object $object The object to refresh.:
Return value
void
1 method overrides ObjectManager::refresh()
- ObjectManagerDecorator::refresh in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Refreshes the persistent state of an object from the database, overriding any local changes that have not yet been persisted.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 111
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function refresh($object);