Registry / other / contributte-event-dispatcher

contributte-event-dispatcher

JSON →
library0.9.1phppackagistunverified

Best event dispatcher / event manager / event emitter for Nette Framework

composer require contributte/event-dispatcher
INSTALL
IMPORT
SIG · CONTRIBUTTE-EVENT-
C
contributte-event-dispatcher
otherphpv0.9.1
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 Contributte\EventDispatcher\EventDispatcher;

Dispatch and listen to events.

use Contributte\EventDispatcher\EventDispatcher; use Symfony\Contracts\EventDispatcher\Event; $dispatcher = new EventDispatcher(); $dispatcher->addListener('user.created', function (Event $event) { echo 'User created!'; }); $dispatcher->dispatch(new Event(), 'user.created');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
contributte-event-dispatcher — pip install contributte-event-dispatcher · libregistry