2017 © Pedro Peláez
 

library events

Events manager.

image

czproject/events

Events manager.

  • Wednesday, March 21, 2018
  • by janpecha
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 300 % Grown

The README.md

CzProject\Events

Events manager., (*1)

Installation

Download a latest package or use Composer:, (*2)

composer require czproject/events

CzProject\Events requires PHP 5.4.0 or later., (*3)

Usage

``` php <?php $events = new CzProject\Events\Events(array( 'click', 'before-delete', ));, (*4)

$events->addHandler('click', function () { // ... });, (*5)

$events->addHandler('before-delete', function (Entity\Post $post) { // ... });, (*6)

$events->fireEvent('click'); $events->fireEvent('before-delete', $post); ```, (*7)


License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/, (*8)

The Versions

21/03 2018

dev-master

9999999-dev

Events manager.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

21/03 2018

v1.0.0

1.0.0.0

Events manager.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires