projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0467053
)
Define parameter type in onBootstrap method of Module.php, this will help newcomers...
author
Pavel Galaton
<pgalaton@pentalog.fr>
Thu, 13 Sep 2012 14:00:20 +0000
(17:00 +0300)
committer
Pavel Galaton
<pgalaton@pentalog.fr>
Thu, 13 Sep 2012 14:00:20 +0000
(17:00 +0300)
module/Application/Module.php
patch
|
blob
|
history
diff --git
a/module/Application/Module.php
b/module/Application/Module.php
index
86d9d4e
..
7786cd8
100644
(file)
--- a/
module/Application/Module.php
+++ b/
module/Application/Module.php
@@
-10,10
+10,11
@@
namespace Application;
use Zend\Mvc\ModuleRouteListener;
+use Zend\Mvc\MvcEvent;
class Module
{
- public function onBootstrap($e)
+ public function onBootstrap(MvcEvent $e)
{
$e->getApplication()->getServiceManager()->get('translator');
$eventManager = $e->getApplication()->getEventManager();