Skip to content

Releases: ICanBoogie/Event

v3.0.0

05 Mar 14:55
Compare
Choose a tag to compare

Updated requirements

  • PHP 5.6+

Backward incompatible changes

  • Remove EventCollectionProvider::using()
  • Remove EventCollectionProvider::clear()

v2.1.0

02 Jan 02:57
Compare
Choose a tag to compare

New features

  • Added define(), defined(), and undefine() to EventCollectionProvider
  • Added get_events()

Other changes

  • Deprecated EventCollectionProvider::using and EventCollectionProvider::clear

v2.0.0

19 Sep 14:49
Compare
Choose a tag to compare

Backward incompatible changes

  • The event collection is now obtained through the new EventCollectionProvider class, EventCollection::get has been removed.

v1.4.0

30 Aug 11:53
Compare
Choose a tag to compare

Backward incompatible changes

  • Renamed Events as EventCollection.
  • Refactored patchable helper as EventCollection::set_instance_provider().
  • Moved ICanBoogie bindings to icanboogie/bind-event.

New features

  • Added EventCollection::attach_to().
  • Added EventCollection::attach() now supports invokable objects.
  • Added EventReflection.
  • Added EventHookReflection.

Other changes

  • The Event class is now using the accessor trait provided by icanboogie/accessor.

v1.2.0

10 Mar 16:40
Compare
Choose a tag to compare

Backward incompatible changes

  • Removed helpers.

New features

  • Support for ICanBoogie's auto-config.
  • Event hooks are easier to attach.
  • Events::get() returns a new instance if none exists.
  • Added the Event::$used_by property.