diff --git a/lib/Doctrine/ORM/Internal/HydrationCompleteHandler.php b/lib/Doctrine/ORM/Internal/HydrationCompleteHandler.php index 077615f29..1f0155123 100644 --- a/lib/Doctrine/ORM/Internal/HydrationCompleteHandler.php +++ b/lib/Doctrine/ORM/Internal/HydrationCompleteHandler.php @@ -80,16 +80,10 @@ final class HydrationCompleteHandler /** * This method should me called after any hydration cycle completed. - */ - public function hydrationComplete() - { - $this->invokeAllDeferredPostLoadEvents(); - } - - /** + * * Method fires all deferred invocations of postLoad events */ - private function invokeAllDeferredPostLoadEvents() + public function hydrationComplete() { $toInvoke = $this->deferredPostLoadInvocations; $this->deferredPostLoadInvocations = array();