After nearly 2 years of work, the Symfony workflow component finally got merged:
https://github.com/symfony/symfony/pull/11882
Might be worth a discussion as to weather it's worth using it over winzou?
For now our state machine can't do something like this:
// from single state to many
$fooDefinition->addTransition(new Transition('t1', 'a', ['b', 'c']));
// from many states to single
$fooDefinition->addTransition(new Transition('t2', ['b', 'c'], 'd'));
I think using something that has way more eyes on it is a good idea, no offense to winzou.
What news about this? Is winzou/state-machine going to be removed in favor of symfony/workflow?
I voted both:
_sylius:
state_machine: ...
workflow: ...
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
Actually, mister bot, some people are still expecting a proper state machine can be implemented in Sylius 馃槃
@Pierstoval I'm afraid it can't be done before 2.0 release (which is quite far away).
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
Hi,
Is it still planned to replace winzou with the workflow component of Symfony in the future?
Most helpful comment
Hi,
Is it still planned to replace winzou with the workflow component of Symfony in the future?