Created
April 27, 2012 15:52
-
-
Save hhamon/2510338 to your computer and use it in GitHub Desktop.
Revisions
-
Hugo Hamon created this gist
Apr 27, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ <?php namespace NewModule; use Zend\EventManager\StaticEventManager; use Zend\EventManager\EventDescription as Event; use Zend\EventManager\StaticEventManager; class Module { public function init(ModuleManager $manager) { $events = StaticEventManager::getInstance(); $events->attach('bootstrap', 'bootstrap', array($this, 'configureView')); } public function configureView(Event $e) { die('triggered'); } }