Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: