function EventDispatcherInterface::dispatch
Same name in this branch
- 11.1.x vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php \Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch()
Provide all relevant listeners with an event to process.
Parameters
object $event: The object to process.
Return value
object The Event that was passed, now modified by listeners.
1 method overrides EventDispatcherInterface::dispatch()
- EventDispatcherInterface::dispatch in vendor/
symfony/ event-dispatcher-contracts/ EventDispatcherInterface.php - Dispatches an event to all registered listeners.
File
-
vendor/
psr/ event-dispatcher/ src/ EventDispatcherInterface.php, line 20
Class
- EventDispatcherInterface
- Defines a dispatcher for events.
Namespace
Psr\EventDispatcherCode
public function dispatch(object $event);