Documentation

ListenerProviderInterface
in

Mapper from an event to the listeners that are applicable to that event.

Table of Contents

Methods

getListenersForEvent()  : iterable[callable]

Methods

getListenersForEvent()

public getListenersForEvent(object $event) : iterable[callable]
Parameters
$event : object

An event for which to return the relevant listeners.

Return values
iterable[callable]

An iterable (array, iterator, or generator) of callables. Each callable MUST be type-compatible with $event.


        
On this page

Search results