Class DefaultListenerAggregate

Summary

Fully Qualified Name: Laminas\ModuleManager\Listener\DefaultListenerAggregate
Extends: AbstractListener
Implements: ListenerAggregateInterface

Description

Default listener aggregate

Methods

Name Description Defined By
__construct() __construct AbstractListener
attach() Attach one or more listeners DefaultListenerAggregate
detach() Detach all previously attached listeners DefaultListenerAggregate
getConfigListener() Get the config merger. DefaultListenerAggregate
getOptions() Get options. AbstractListener
setConfigListener() Set the config merger to use. DefaultListenerAggregate
setOptions() Set options. AbstractListener

Method Details

__construct()

__construct

Parameter Name Type Description
$options \ListenerOptions

Returns:

attach()

Attach one or more listeners

Parameter Name Type Description
$events \EventManagerInterface
$priority int

Returns: \DefaultListenerAggregate

detach()

Detach all previously attached listeners

Parameter Name Type Description
$events \EventManagerInterface

Returns: void

getConfigListener()

Get the config merger.

Returns: \ConfigMergerInterface

getOptions()

Get options.

Returns: \ListenerOptions

setConfigListener()

Set the config merger to use.

Parameter Name Type Description
$configListener \ConfigMergerInterface

Returns: \DefaultListenerAggregate

setOptions()

Set options.

Parameter Name Type Description
$options \ListenerOptions the

Returns: \AbstractListener

Top