PHP Classes

PHP Events and Listener: Manage event subscribers and call listeners

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 88 This week: 1All time: 9,958 This week: 560Up
Version License PHP version Categories
events-listener 1.0MIT/X Consortium ...5PHP 5, Language, Design Patterns
Description 

Author

This package can manage event subscribers and call listeners.

It provides a manager class that can add listener objects that it will call when a new event with a given name is triggered.

The manager object can also call the listeners objects when the events they subscribed to are triggered.

Picture of Alexandre
  Performance   Level  
Name: Alexandre <contact>
Classes: 6 packages by
Country: France France
Age: ???
All time rank: 354792 in France France
Week rank: 416 Up17 in France France Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagesrc (4 files)
Files folder imagetests (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Event.php Class Class source
  Plain text file EventManager.php Class Class source
  Plain text file Listener.php Class Class source
  Plain text file Subscriber.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file EventManagerTest.php Class Class source
  Plain text file EventTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:88
This week:1
All time:9,958
This week:560Up