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

Public Member Functions

 dispatch (object $event)
 Provide all relevant listeners with an event to process.
 

Member Function Documentation

◆ dispatch()

Psr\EventDispatcher\EventDispatcherInterface::dispatch ( object $event)

Provide all relevant listeners with an event to process.

Parameters
object$eventThe object to process.
Return values
objectThe Event that was passed, now modified by listeners.

Implemented in core\hook\manager.


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