Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Closed as not planned
Description
Discussed in#44203
Originally posted bystephanvierkant November 22, 2021
I've tried the new Enum in PHP 8.1 and I love that Symfony supports this new feature in the Form component.
I'd love to have this support in the Workflow component as well.
I've changed my status attribute from a string to an Enum field and now this doesn't work anymore:
$workflow->can($entity, $transition->getName()
I'd be great is Symfony would support Enum in the Workflow Component as well!