{
public function init(Manager $moduleManager)
{
- $events = StaticEventManager::getInstance();
- $events->attach('bootstrap', 'bootstrap', array($this, 'initializeView'), 100);
+ $events = $moduleManager->events();
+ $sharedEvents = $events->getSharedCollections();
+ $sharedEvents->attach('bootstrap', 'bootstrap', array($this, 'initializeView'), 100);
}
public function getAutoloaderConfig()