Open willemo opened 4 years ago
A slight warning for people wanting to update to this version: the subjects for the workflows need to have getters and setters for the marking. So if you have a model that has a state
property you use to store the current place of the workflow, you need to add the getState()
and setState($state)
methods to that model.
Based on the code in #73, I've created my own branch with some small fixes. This should be backwards compatible with the marking store config and also support a newer format.
Old:
New:
You can use my fork by changing your
composer.json
and runningcomposer update brexis/laravel-workflow
: