[FrameworkBundle][PropertyInfo] Wire the `ConstructorExtractor` class
| Q | A |
|---|---|
| Branch? | 7.2 |
| Bug fix? | no |
| New feature? | yes |
| Deprecations? | no |
| Tickets | - |
| License | MIT |
| Doc PR | - |
A sort of followup to #30335.
The original PR removed the wiring to prevent creating a BC break, see https://github.com/symfony/symfony/pull/30128#issuecomment-462169119 & https://github.com/symfony/symfony/pull/30335#issuecomment-480799499.
This PR proposes adding a new framework.property_info.with_constructor_extractor configuration to allow optionally enabling the framework integration. The configuration defaults to false to prevent creating a BC break. Only when it's set to true will the ConstructorExtractor be registered in the container.
What is the status of this PR ? It would be nice to see this in 7.1.
What about directly deprecating this option, so that it needs to be set on 8.0? Or defaulting it to true in 8.0?
What about directly deprecating this option, so that it needs to be set on 8.0? Or defaulting it to true in 8.0?
I'm ok with whatever is decided.
Thank you @HypeMC.