interface EventDispatcherInterface
Same name in this branch
- 11.1.x vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
- 11.1.x vendor/symfony/event-dispatcher/EventDispatcherInterface.php \Symfony\Component\EventDispatcher\EventDispatcherInterface
Defines a dispatcher for events.
Hierarchy
- interface \Psr\EventDispatcher\EventDispatcherInterface
Expanded class hierarchy of EventDispatcherInterface
All classes that implement EventDispatcherInterface
9 files declare their use of EventDispatcherInterface
- AbstractHttpTransport.php in vendor/
symfony/ mailer/ Transport/ AbstractHttpTransport.php - AbstractTransport.php in vendor/
symfony/ mailer/ Transport/ AbstractTransport.php - AbstractTransportFactory.php in vendor/
symfony/ mailer/ Transport/ AbstractTransportFactory.php - EsmtpTransport.php in vendor/
symfony/ mailer/ Transport/ Smtp/ EsmtpTransport.php - EventDispatcherInterface.php in vendor/
symfony/ event-dispatcher-contracts/ EventDispatcherInterface.php
File
-
vendor/
psr/ event-dispatcher/ src/ EventDispatcherInterface.php, line 9
Namespace
Psr\EventDispatcherView source
interface EventDispatcherInterface {
/**
* Provide all relevant listeners with an event to process.
*
* @param object $event
* The object to process.
*
* @return object
* The Event that was passed, now modified by listeners.
*/
public function dispatch(object $event);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
EventDispatcherInterface::dispatch | public | function | Provide all relevant listeners with an event to process. | 1 |