continue;
} // Unwrap listener
$priority =
$this->
getListenerPriority($eventName,
$listener);
$this->dispatcher->
removeListener($eventName,
$listener);
$this->dispatcher->
addListener($eventName,
$listener->
getWrappedListener(),
$priority);
if (null !==
$this->logger
) { $context =
['event' =>
$eventName, 'listener' =>
$listener->
getPretty()];
} if ($listener->
wasCalled()) { $this->logger?->
debug('Notified event "{event}" to listener "{listener}".',
$context);
} else { $this->callStack->
detach($listener);
} if (null !==
$this->logger &&
$skipped) { $this->logger->
debug('Listener "{listener}" was not called for event "{event}".',
$context);
} if ($listener->
stoppedPropagation()) { $this->logger?->
debug('Listener "{listener}" stopped propagation of the event "{event}".',
$context);