Methods
__construct
__construct(\Zend\ModuleManager\Listener\ListenerOptions $options)
Inherited
inherited_from |
\Zend\ModuleManager\Listener\AbstractListener::__construct() |
Parameters
Attach one or more listeners
attach(\Zend\EventManager\EventManagerInterface $events) : void
Implementors may add an optional $priority argument; the EventManager
implementation will pass this to the aggregate.
Parameters
Detach all previously attached listeners
detach(\Zend\EventManager\EventManagerInterface $events) : void
Bootstrap listener
onBootstrap(\Zend\EventManager\Event $e) : void
This is ran during the MVC bootstrap event because it requires access to
the DI container.
TODO |
: Check the application / locator / etc a bit better to make sure
the env looks how we're expecting it to? |
Parameters
loadModule
onLoadModule(\Zend\ModuleManager\ModuleEvent $e) : void
Check each loaded module to see if it implements LocatorRegistered. If it
does, we add it to an internal array for later.
Parameters
loadModules
onLoadModules(\Zend\EventManager\Event $e) : void
Once all the modules are loaded, loop
Parameters
Set options.
setOptions(\Zend\ModuleManager\Listener\ListenerOptions $options) : \Zend\ModuleManager\Listener\AbstractListener
Inherited
inherited_from |
\Zend\ModuleManager\Listener\AbstractListener::setOptions() |
Parameters
Returns
Write a simple array of scalars to a file
writeArrayToFile(string $filePath, array $array) : \Zend\ModuleManager\Listener\AbstractListener
Inherited
inherited_from |
\Zend\ModuleManager\Listener\AbstractListener::writeArrayToFile() |
Parameters
$filePath
string
$array
array
Returns
Properties
$callbacks
$callbacks : array
$modules
$modules : array