Default listener aggregate

category Zend
package Zend_ModuleManager
subpackage Listener

 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

Get options.

getOptions() : \Zend\ModuleManager\Listener\ListenerOptions
Inherited

inherited_from \Zend\ModuleManager\Listener\AbstractListener::getOptions()

Returns

Set the config merger to use.

setConfigListener(\Zend\ModuleManager\Listener\ConfigMergerInterface $configListener) : \Zend\ModuleManager\Listener\DefaultListenerAggregate

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

 

$configListener

$configListener : \Zend\ModuleManager\Listener\ConfigMergerInterface

 

$listeners

$listeners : array

 

$options

$options : \Zend\ModuleManager\Listener\ListenerOptions
Inherited

inherited_from \Zend\ModuleManager\Listener\AbstractListener::$$options