Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Psr\EventDispatcher\ListenerProviderInterface Interface Reference
Inheritance diagram for Psr\EventDispatcher\ListenerProviderInterface:
core\hook\manager

Public Member Functions

 getListenersForEvent (object $event)
 

Member Function Documentation

◆ getListenersForEvent()

Psr\EventDispatcher\ListenerProviderInterface::getListenersForEvent ( object $event)
Parameters
object$eventAn 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.

Implemented in core\hook\manager.


The documentation for this interface was generated from the following file: