1
0
mirror of synced 2024-12-05 03:06:05 +03:00

#1001 DDC-3005 - removed HydrationCompleteHandler#invokeAllDeferredPostLoadEvents() (useless method call indirection)

This commit is contained in:
Marco Pivetta 2015-01-13 00:51:44 +01:00
parent c9ccd91421
commit 45221b1951

View File

@ -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();