Skip to content

Releases: bkdotcom/PubSub

v3.2.2

Choose a tag to compare

@bkdotcom bkdotcom released this 11 Nov 17:52
  • getter -> check if method requires parameter
  • maintenance
  • php 8.5 support

v3.2.1

Choose a tag to compare

@bkdotcom bkdotcom released this 15 Jul 19:04

maintenance release

v3.2

Choose a tag to compare

@bkdotcom bkdotcom released this 05 Jul 20:57
  • doClosureFactory now asserts that the result is a callable
  • valueStore now returns values sorted (getValues, __serialize, __debugInfo, & jsonSerialize)
  • valueStore::offsetGet now checks for getter method
  • codeQuality - refactor Manager: move some methods to new InterfaceManager

v3.1.1

Choose a tag to compare

@bkdotcom bkdotcom released this 17 Dec 04:32

Event subscriber may now return a value... which will populate event's 'return' value (if exists and is empty).. as a convenience / alternative to setting the event's return value directly

v3.1

Choose a tag to compare

@bkdotcom bkdotcom released this 11 Sep 13:58
  • SubscriberInterface::getSubscribers() may now return Closures
  • ValueStore::offsetGet() will now utilize getter method if value does not exist

v3.0

Choose a tag to compare

@bkdotcom bkdotcom released this 16 Jul 19:53
  • Subscribers have new "onlyOnce" option... will self-unsubscribe after being invoked
  • Subscribers may now call subscribe & unsubscribe
  • Event extends new ValueStore class

v2.4

Choose a tag to compare

@bkdotcom bkdotcom released this 10 Jun 03:12

PHP 8.1 support
Event::setValue now passes key/value to onSet
Event::setValues() now passes new values to onSet
internal updates to Manager

v2.3.2

Choose a tag to compare

@bkdotcom bkdotcom released this 23 Jan 04:37

protected Event::onSet() method
'php.shutdown' is now EVENT_PHP_SHUTDOWN constant

v2.3.1

Choose a tag to compare

@bkdotcom bkdotcom released this 21 May 20:37

coding standard improvements

v2.3

Choose a tag to compare

@bkdotcom bkdotcom released this 03 Jan 16:36

Initial stand-alone version