Skip to content

Add the missing note on how to inject a service into the controller #20117

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
Aug 26, 2024

Conversation

wkania
Copy link
Contributor

@wkania wkania commented Aug 14, 2024

Without it there is an error:

Could not resolve argument of "Controller", maybe you forgot to register the controller as a service or missed tagging it with the "controller.service_arguments"?

@carsonbot carsonbot added this to the 5.4 milestone Aug 14, 2024
@wkania wkania force-pushed the controller-as-a-service branch from e015131 to be7999e Compare August 17, 2024 13:22
@javiereguiluz javiereguiluz merged commit 70e2e45 into symfony:5.4 Aug 26, 2024
3 checks passed
@javiereguiluz
Copy link
Member

Merged! Thanks @wkania.

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.

4 participants