Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support Enum as workflow places #44211

Closed as not planned
Closed as not planned
Labels
FeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Workflow
@stof

Description

@stof

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp