public function Event::getDispatcher

Returns the EventDispatcher that dispatches this Event

@api

Return value

EventDispatcherInterface

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php, line 93

Class

Event
Event is the base class for classes containing event data.

Namespace

Symfony\Component\EventDispatcher

Code

public function getDispatcher() {
  return $this->dispatcher;
}