$this->callStack ??=
new \
SplObjectStorage();
$currentRequestHash =
$this->currentRequestHash =
$this->requestStack
&& ($request =
$this->requestStack->
getCurrentRequest()) ?
spl_object_hash($request) : '';
if (null !==
$this->logger &&
$event instanceof StoppableEventInterface &&
$event->
isPropagationStopped()) { $this->logger->
debug(sprintf('The "%s" event is already stopped. No listeners have been called.',
$eventName));
} $this->
preProcess($eventName);
try { $this->
beforeDispatch($eventName,
$event);
try { $e =
$this->stopwatch->
start($eventName, 'section'
);
try { $this->dispatcher->
dispatch($event,
$eventName);
} finally { if ($e->
isStarted()) { $e->
stop();
} } } finally { $this->
afterDispatch($eventName,
$event);
}