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    
Last Updated Ratings Unique User Downloads Download Rankings
2022-03-05 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 82 All time: 9,856 This week: 165Up
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: 354891 in France France
Week rank: 312 Up14 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:82
This week:0
All time:9,856
This week:165Up
For more information send a message to info at phpclasses dot org.