You are here

public function ObjectManagerDecorator::refresh in Zircon Profile 8

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

Overrides ObjectManager::refresh

File

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

Class

ObjectManagerDecorator
Base class to simplify ObjectManager decorators

Namespace

Doctrine\Common\Persistence

Code

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