Skip to content

Missing support for !php/const in config file as key #2403

Open
@nicoguerinet

Description

@nicoguerinet

It could be nice to add support for !php/const when using as key in yaml file.

When using with workflow for example it's usefull to use constant for places.
In my configuration I had some metadata for the nodes.

The plugins don't detect a config like :

framework:
  workflows:
    library:
      places:
        !php/const:App\Entity\Book::INITIAL_STATE:
           metadata:
             ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions