devaloka / event-converter
Interchangeably converts all WordPress action/filter to/from EventDispatcher's Event
dev-master / 0.7.x-dev
2017-06-12 02:05 UTC
Requires
- php: >=5.6.0
- devaloka/dependency-injection: ~0.7.0
- devaloka/event-dispatcher: ~0.7.0
- ecailles/callable-object: ~1.0.1
- pimple/pimple: ~3.0
- symfony/event-dispatcher: ~3.2
Requires (Dev)
- squizlabs/php_codesniffer: ^2.9.1
This package is auto-updated.
Last update: 2024-12-29 05:10:19 UTC
README
Interchangeably converts WordPress's action/filter to/from EventDispatcher's Event.
Features
-
Interchangeably handle/listen/dispatch all WordPress actions/filters as EventDispatcher's Events
- WordPress's action/filter to WordPress's action/filter
- WordPress's action/filter to EventDispatcher's Event
- EventDispatcher's Event to WordPress's action/filter
- EventDispatcher's Event to EventDispatcher's Event
Installation
-
Install via Composer.
composer require devaloka/event-converter
Caveat
Event::stopPropagation()
doesn't work.