Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor symfony#20409 [Routing] Add example of Requirement enum (alamir…
…ault) This PR was merged into the 6.4 branch. Discussion ---------- [Routing] Add example of Requirement enum [Requirement Enum](https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Routing/Requirement/Requirement.php) values are not cases but constants. So in YAML routing format we must use `!php/const` instead of `!php/enum`. This PR add examples to how to use the "Requirement enum" Can you confirm constants are not supported in XML format for routing ? (if not, maybe we can make PR like symfony/symfony#58035 cc `@alexandre`-daubois) Commits ------- ebfa5e2 [Routing] Add example of Requirement enum
- Loading branch information