Default listener aggregate

package Default
inherited_from \Zend\ModuleManager\Listener\AbstractListener

 Methods

__construct

__construct(\Zend\ModuleManager\Listener\ListenerOptions $options = null
Inherited

Parameters

$options

\Zend\ModuleManager\Listener\ListenerOptions

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.

inherited_from \Zend\EventManager\ListenerAggregateInterface::attach()

Parameters

$events

\Zend\EventManager\EventManagerInterface

Returns

\Zend\ModuleManager\Listener\DefaultListenerAggregate

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) : void
inherited_from \Zend\EventManager\ListenerAggregateInterface::detach()

Parameters

$events

\Zend\EventManager\EventManagerInterface

Get the config merger.

getConfigListener() : \Zend\ModuleManager\Listener\ConfigMergerInterface

Returns

\Zend\ModuleManager\Listener\ConfigMergerInterface

Get options.

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

Returns

\Zend\ModuleManager\Listener\ListenerOptions

Set the config merger to use.

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

Parameters

$configListener

\Zend\ModuleManager\Listener\ConfigMergerInterface

Returns

\Zend\ModuleManager\Listener\DefaultListenerAggregate

Set options.

setOptions(\Zend\ModuleManager\Listener\ListenerOptions $options) : \Zend\ModuleManager\Listener\AbstractListener
Inherited

Parameters

$options

\Zend\ModuleManager\Listener\ListenerOptions

the value to be set

Returns

\Zend\ModuleManager\Listener\AbstractListener

Write a simple array of scalars to a file

writeArrayToFile(string $filePath, array $array) : \Zend\ModuleManager\Listener\AbstractListener
Inherited

Parameters

$filePath

string

$array

array

Returns

\Zend\ModuleManager\Listener\AbstractListener

 Properties

 

$configListener

$configListener : \Zend\ModuleManager\Listener\ConfigMergerInterface

Default

 

$listeners

$listeners : array

Default

array()
 

$options

$options : \Zend\ModuleManager\Listener\ListenerOptions

Default