You are here

public function ObjectManagerDecorator::initializeObject in Plug 7

Helper method to initialize a lazy loading proxy or persistent collection.

This method is a no-op for other objects.

Parameters

object $obj:

Return value

void

Overrides ObjectManager::initializeObject

File

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

Class

ObjectManagerDecorator
Base class to simplify ObjectManager decorators

Namespace

Doctrine\Common\Persistence

Code

public function initializeObject($obj) {
  return $this->wrapped
    ->initializeObject($obj);
}