foreach ($allListeners as $eventName =>
$listeners) { foreach ($listeners as [$listener,
$priority]) { if (!\
in_array($listener,
$calledListeners, true
)) { if (!
$listener instanceof WrappedListener
) { $listener =
new WrappedListener($listener, null,
$this->stopwatch,
$this,
$priority);
} $notCalled[] =
$listener->
getInfo($eventName);
} } } uasort($notCalled,
$this->
sortNotCalledListeners(...
));
return $notCalled;
} public function getOrphanedEvents(Request
$request = null
): array
{ if ($request) { return $this->orphanedEvents
[spl_object_hash($request)] ??
[];
} if (!
$this->orphanedEvents
) {