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) : \Zend\ModuleManager\Listener\DefaultListenerAggregate
Implementors may add an optional $priority argument; the EventManager
implementation will pass this to the aggregate.
Parameters
Returns
Detach all previously attached listeners
detach(\Zend\EventManager\EventManagerInterface $events) : void
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
$listeners
$listeners : array