PHP Classes

Event Emitter: Register handlers and dispatch named events

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 64 All time: 10,284 This week: 342Up
Version License PHP version Categories
event-state 1.0Public Domain5PHP 5, Language


This class can register handlers and dispatch named events.

It can register handlers objects and functions that will be called when a given event is triggered.

The class can also dispatch a given named event by calling all the functions of handler objects that were registered for that event.

This class is a conversion of npm event-state module to PHP.

Picture of Till Wehowski
  Performance   Level  
Name: Till Wehowski <contact>
Classes: 29 packages by
Country: Germany Germany
Age: 44
All time rank: 108370 in Germany Germany
Week rank: 121 Up3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 11x

  Files folder image Files  
File Role Description
Accessible without login Plain text file EventEmitter Class class file
Accessible without login Plain text file Test.php Example Example 2KB
Downloadevent-state-2017-03-23.tar.gz 2KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
$Event.$Iterator Download .zip .tar.gz Base class Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,284
This week:342Up