CodeExplorer afterDispatch example
$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);
} } finally { $this->currentRequestHash =
$currentRequestHash;
$this->
postProcess($eventName);
} return $event;
} public function getCalledListeners(Request
$request = null
): array
{ $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);
} } finally { $this->currentRequestHash =
$currentRequestHash;
$this->
postProcess($eventName);
} return $event;
} public function getCalledListeners(Request
$request = null
): array
{