PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2017-03-23 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 60 All time: 9,503 This week: 537Up
Version License PHP version Categories
event-state 1.0Public Domain5PHP 5, Language
Description Author

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.

  Performance   Level  
Name: Till Wehowski <contact>
Classes: 17 packages by
Country: Germany Germany
Age: 40
All time rank: 124879 in Germany Germany
Week rank: 17 Up1 in Germany Germany Up
Innovation award
Innovation award
Nominee: 5x

 

  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

Downloadevent-state-2017-03-23.zip 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  
 0%
Total:60
This week:0
All time:9,503
This week:537Up