Registry / utility / hyperf-event

hyperf-event

JSON →
library3.2.0phppackagistunverified

An event manager implementing PSR-14 for the Hyperf framework.

composer require hyperf/event
INSTALL
IMPORT
SIG · HYPERF-EVENT
H
hyperf-event
utilityphpv3.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EventDispatcher
use Hyperf\Event\EventDispatcher;

Create an event dispatcher with a custom listener provider.

use Hyperf\Event\EventDispatcher; use Psr\EventDispatcher\ListenerProviderInterface; $provider = new class implements ListenerProviderInterface { public function getListenersForEvent(object $event): iterable { return []; } }; $dispatcher = new EventDispatcher($provider); $dispatcher->dispatch(new stdClass());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hyperf-event — pip install hyperf-event · libregistry