bermudaphp/eventor

v1.3 2025-04-03 18:05 UTC

This package is auto-updated.

Last update: 2025-04-03 18:06:34 UTC


README

composer require bermudaphp/eventor

Usage

$provider = new Provider\Provider;

$provider->listen(MyEvent::class, $firstListener);
$provider->listen(MyEvent::class, $secondListener);

$event = (new EventDispatcher($provider))->dispatch(new MyEvent);