Registry / utility / laminas-laminas-eventmanager

laminas-laminas-eventmanager

JSON →
library3.15.0phppackagistunverified

Trigger and listen to events within a PHP application.

composer require laminas/laminas-eventmanager
INSTALL
IMPORT
SIG · LAMINAS-LAMINAS-EV
L
laminas-laminas-eventmanager
utilityphpv3.15.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.

EventManager
use Laminas\EventManager\EventManager;

Create an EventManager, attach a listener, and trigger an event.

use Laminas\EventManager\EventManager; $events = new EventManager(); $events->attach('doSomething', function ($e) { echo 'Event triggered!'; }); $events->trigger('doSomething');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.15.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
laminas-laminas-eventmanager — pip install laminas-laminas-eventmanager · libregistry