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: 87 All time: 9,914 This week: 88Up
Version License PHP version Categories
events-listener 1.0MIT/X Consortium ...5PHP 5, Language, Design Patterns




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: 355292 in France France
Week rank: 402 Up15 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  
This week:0
All time:9,914
This week:88Up