/**
* @return array<array-key, array<array-key, callable(object): void>|callable(object): void>
*/
public function getListeners(?string
$eventName = null
): array
{ return $this->dispatcher->
getListeners($eventName);
} public function getListenerPriority(string
$eventName, callable
$listener): ?int
{ /** @var callable(object): void $listener - Specify generic callback interface callers can provide more specific implementations */
return $this->dispatcher->
getListenerPriority($eventName,
$listener);
} public function hasListeners(?string
$eventName = null
): bool
{ return $this->dispatcher->
hasListeners($eventName);
} public function clearInternalWebhookCache(): void
{ $this->webhooks = null;
}