2017 © Pedro Peláez
 

library events

Events system for events dispatch control

image

system/events

Events system for events dispatch control

  • Friday, December 23, 2016
  • by maniakalen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Simple events system

Extend Dispatcher class to add events support to your objects., (*1)

Attach event handlers with, (*2)

$object->on('event_name', <handler in callable format>)

Execute handlers with, (*3)

$object->trigger('event_name', $event)

You can also detach event by using, (*4)

$object->off('event_name', <handler>)

PHP System Event engine, (*5)

The Versions

23/12 2016

dev-master

9999999-dev

Events system for events dispatch control

  Sources   Download

Open Software License (OSL 3.0)

The Requires

  • php >=5.4.0

 

by Petar Ivanov

php

22/12 2016

1.0.0

1.0.0.0

Events system for events dispatch control

  Sources   Download

The Requires

  • php >=5.4.0

 

by Petar Ivanov

php