sabre/event 4 released
We just released sabre/event 4.0.0.
This release requires PHP 7, and has the following new features:
- PHP 7 typehints where they make sense,
- Support for a new
WildcardEmitterthis Emitter has the same interface as the regular
Emitter, but it allows you to listen for events such as
updated:*, which would get triggered for any event that starts with
EventEmitterInterfaceare renamed to
- Promises now correctly handle PHP 7
- Promises must now be rejected by an object implementing
sabre/event 3 will continue to be supported. I don't suspect new bugs will appear there though, as it's a fairly simple package.
To upgrade sabre/event, make sure your
composer.json requires "^4.0" for