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