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.:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php, line 100
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\Persistence
Code
function refresh($object);