widoz/hooks-collection

This package is abandoned and no longer maintained. No replacement package was suggested.

A collection of event listeners wrapper, allowing to decouple constraints and preconditions from the listener logic.

0.2.0 2020-01-25 21:42 UTC

This package is auto-updated.

Last update: 2020-02-27 17:56:56 UTC


README

Travis CI Codecov Packagist PHP from Packagist

Event Listeners Collection

A collection of event listeners wrapper, allowing to decouple constraints and preconditions from the listener logic.

Requirements

PHP >=7.1

Listeners Included

Autoremovable Listeners

NTimesListener

Execute a listener N times, remove it after.

SingleListener

Execute a listener once.