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.

Installs: 143

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/widoz/hooks-collection

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.