This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony
Fabien Potencier 4cc0ab3e99 bug #41014 [Routing] allow extending Route attribute (robmro27)
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Routing] allow extending Route attribute

| Q             | A
| ------------- | ---
| Branch?       | 5.x <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       |  <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | <!-- required for new features -->

There is probably missed `\ReflectionAttribute::IS_INSTANCEOF` parameter and because of that Route attribute class could not be extended. This could be used by some popular bundles like `FOSRestBundle` for example. Right
now it's not possible to add attributes support there like it was before (extending Route Annotation).

Commits
-------

d733b78f88 [Routing] allow extending Route attribute
2021-05-01 16:20:47 +02:00
..
Bridge Merge branch '5.2' into 5.x 2021-04-16 19:25:45 +02:00
Bundle minor #41009 [Config ]Remove log message when no configuration is found in ConfigBuilder (alexander-schranz) 2021-05-01 16:15:21 +02:00
Component bug #41014 [Routing] allow extending Route attribute (robmro27) 2021-05-01 16:20:47 +02:00
Contracts Merge branch '5.2' into 5.x 2021-04-24 16:39:57 +02:00