Skip to content
Browse files

Merge pull request #21 from bjyoungblood/hotfix/app-bootstrap-event-name

Fix application bootstrap event name
  • Loading branch information...
2 parents 576335e + 6d68dfa commit 89ffa4edf11499a46c0c00073c1e8433a92504d8 @EvanDotPro EvanDotPro committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ZfcBase/Module/ModuleAbstract.php
View
2 src/ZfcBase/Module/ModuleAbstract.php
@@ -23,7 +23,7 @@ public function init(ModuleManager $moduleManager)
{
$events = $moduleManager->events()->getSharedManager();
$instance = $this;//TODO this will no be needed in PHP 5.4
- $events->attach('bootstrap', 'bootstrap', function($e) use ($instance, $moduleManager) {
+ $events->attach('application', 'bootstrap', function($e) use ($instance, $moduleManager) {
$app = $e->getParam('application');
$instance->setMergedConfig($e->getParam('config'));
$instance->bootstrap($moduleManager, $app);

0 comments on commit 89ffa4e

Please sign in to comment.
Something went wrong with that request. Please try again.