-
-
Notifications
You must be signed in to change notification settings - Fork 0
WildcardListenerProvider
github-actions edited this page Apr 6, 2026
·
1 revision
Expose an invokable wildcard listener as a PSR-14 listener provider.
- Full name:
\FastForward\EventDispatcher\ListenerProvider\WildcardListenerProvider - This class implements:
ListenerProviderInterface - This class is an Abstract class
Handle the provided event.
public __invoke(object $event): void- This method is abstract. Parameters:
| Parameter | Type | Description |
|---|---|---|
$event |
object | event emitted by the dispatcher |
Yield the current listener for any dispatched object.
final public getListenersForEvent(object $event): iterable<callable>- This method is final. Parameters:
| Parameter | Type | Description |
|---|---|---|
$event |
object | event being dispatched |
Return Value:
matching listeners