Get the EventDispatcher of the request
Overrides HasDispatcherInterface::getEventDispatcher
public function getEventDispatcher() {
if (!$this->eventDispatcher) {
$this
->setEventDispatcher(new EventDispatcher());
}
return $this->eventDispatcher;
}