Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EventDispatcherInterface.php

interface EventDispatcherInterface

Same name in this branch
  1. 11.1.x vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
  2. 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

... See full list

File

vendor/psr/event-dispatcher/src/EventDispatcherInterface.php, line 9

Namespace

Psr\EventDispatcher
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal