Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #18243 [DependencyInjection] Mark service as public with #[Auto…
…configure] attribute (adveris-aadam) This PR was merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Mark service as public with #[Autoconfigure] attribute I wanted to mark a service as public with an attribute to avoid yaml configuration, but I could not find anything in the documentation. So I started digging and found out that the `#[Autoconfigure]` attribute allows to do that. Also, the mention > PHP attributes require at least PHP 8.0. is not needed in 6.0. Should I create an other PR (if this one is relevant) ? Commits ------- d09cf03 [DI] Mark service as public with #[Autoconfigure] attribute
- Loading branch information