Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
update controller return value#20411
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
b6a4d18 to6f37a35Compare6f37a35 to42b4c95Compare6b75287 intosymfony:5.4Uh oh!
There was an error while loading.Please reload this page.
javiereguiluz commentedNov 26, 2024
Thanks Florian for this contribution! However, while merging we did some rewording (seed019fc4). It's not that your contribution was wrong, but the Controllers chapter in the docs is special. It's one of those that newcomers read first. So, we must be extra careful with anything we mention in them. The original contribution could introduce some confusion in newcomers because it mentions events and listeners when they haven't been introduced yet. So, in the reword, we still mention events but as an advanced feature that they'll learn about later. We think this provides a better balance between being technically correct and keep this chapter very approachable for newcomers. Cheers! |
A controller is not required to return a
Responseobject anymore.