Releases: winzou/state-machine
Releases · winzou/state-machine
PHP 5.3 compatibility
Merge pull request #8 from datto/master Change callCallbacks to be 5.3 compatible
Dummy release for packagist cache
0.2.1 Fix last fix
Fix transition state consistency between before and after callbacks
The after callbacks had the already updated state instead of the one before the transition.
BC break: TransitionEvent::construct
now takes the initial state as a 2nd argument.
Make state machine arguments optional
Changes in state machine and factory arguments:
- EventDispatcher as null leads to no event dispatched
- CallbackFactory as null leads to default factory used
No BC break.
First release
First release. Should be already usable though.