Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed callback method and fixed API docblock

  • Loading branch information...
commit 530017a3816cb045dea0bfb8917f9f2e849643e8 1 parent c7c5591
@coss coss authored
View
6 library/Zend/ModuleManager/Listener/LocatorRegistrationListener.php
@@ -54,14 +54,14 @@ public function onLoadModule(ModuleEvent $e)
}
/**
- * loadModulesPost
+ * loadModules
*
* Once all the modules are loaded, loop
*
* @param Event $e
* @return void
*/
- public function onLoadModulesPost(Event $e)
+ public function onLoadModules(Event $e)
{
$moduleManager = $e->getTarget();
$events = $moduleManager->getEventManager()->getSharedManager();
@@ -117,7 +117,7 @@ public function onBootstrap(Event $e)
public function attach(EventManagerInterface $events)
{
$this->listeners[] = $events->attach(ModuleEvent::EVENT_LOAD_MODULE, array($this, 'onLoadModule'));
- $this->listeners[] = $events->attach(ModuleEvent::EVENT_LOAD_MODULES, array($this, 'onLoadModulesPost'), -1000);
+ $this->listeners[] = $events->attach(ModuleEvent::EVENT_LOAD_MODULES, array($this, 'onLoadModules'), -1000);
return $this;
}
Please sign in to comment.
Something went wrong with that request. Please try again.