PHP Classes

PHP Events and Listener: Manage event subscribers and call listeners

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 89 All time: 9,977 This week: 50Up
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
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (8)  
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 (8)  /  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 (8)  /  tests  
File Role Description
  Plain text file EventManagerTest.php Class Class source
  Plain text file EventTest.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:89
This week:0
All time:9,977
This week:50Up