This syntax has been included in Symfony since 3.3, but the config syntax in laravel-workflow doesn't support it.
I've added the alternative syntax referenced in symfony/symfony#22558 and updated the tests to cover it. (This also required fixing the tests, as many of them had the same class name and did not function).
This syntax has been included in Symfony since 3.3, but the config syntax in laravel-workflow doesn't support it.
I've added the alternative syntax referenced in symfony/symfony#22558 and updated the tests to cover it. (This also required fixing the tests, as many of them had the same class name and did not function).
The existing syntax should still work fine.
Example config file for new syntax:
As you can see, two different states can make the 'edit' transition (see diagram below).
To re-iterate, this functionality exists already in Symfony Workflow, this is just to allow it to be used with laravel-workflow.