You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #1461 Use #[Autowire] attribute instead of Yaml config (GromNaN)
This PR was squashed before being merged into the main branch.
Discussion
----------
Use `#[Autowire]` attribute instead of Yaml config
I'm not sure this is something you want to do: replacing Yaml config for attribute for class alias, to use the `#[Autowire]` attribute available [since Symfony 6.1](https://symfony.com/blog/new-in-symfony-6-1-service-autowiring-attributes).
I did the change, so let you decide if that's good or not for the demo.
Commits
-------
9f906e4 Use `#[Autowire]` attribute instead of Yaml config
0 commit comments