lib/Doctrine/ORM/Internal/HydrationCompleteHandler.php
public function deferPostLoadInvoking(ClassMetadata $class, $entity)
    {
        $invoke = $this->listenersInvoker->getSubscribedSystems($class, Events::postLoad);

        if ($invoke === ListenersInvoker::INVOKE_NONE) {
            return;
        }

        $this->deferredPostLoadInvocations[] = [$class, $invoke, $entity];
    }
public function deferPostLoadInvoking(ClassMetadata $class, $entity)
    {
        $invoke = $this->listenersInvoker->getSubscribedSystems($class, Events::postLoad);

        if ($invoke === ListenersInvoker::INVOKE_NONE) {
            return;
        }

        $this->deferredPostLoadInvocations[] = [$class, $invoke, $entity];
    }
public function deferPostLoadInvoking ( ClassMetadata $ class , $ entity ) { $ invoke = $ this -> listenersInvoker -> getSubscribedSystems ( $ class , Events :: postLoad ) ; if ( $ invoke === ListenersInvoker :: INVOKE_NONE ) { return ; } $ this -> deferredPostLoadInvocations [ ] = [ $ class , $ invoke , $ entity ] ; }
Method schedules invoking of postLoad entity to the very end of current hydration cycle.

@param object $entity
Method schedules invoking of postLoad entity to the very end of current hydration cycle .