Skip to content

Replace service name with FQCN class reference #17600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

evertharmeling
Copy link
Contributor

As there isn't any mention of app.hello_controller (no definition) and the previous chapter mentioned using the FQCN is what Symfony recommends (it eases refactoring, especially for php configuration) it makes much more sense to make use of the FQCN as the service identifier.

And lined up the yaml-config (as done in the rest of the documentation; routing chapter)

As there isn't any mention of `app.hello_controller` (no definition) and the previous chapter mentioned using the FQCN is what Symfony recommends (it eases refactoring, especially for `php` configuration) it makes much more sense to make use of the FQCN as the service identifier.

And lined up the `yaml`-config (as done in the rest of the documentation; routing chapter)
@javiereguiluz
Copy link
Member

Yes, this is much better. Thanks Evert!

@javiereguiluz javiereguiluz merged commit 97486b7 into symfony:5.4 Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants