Skip to content
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

[HttpFoundation] Do not use named parameters in example #20433

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

MrYamous
Copy link
Contributor

@MrYamous MrYamous commented Dec 3, 2024

Noticed from blog article

The example in the blog seems to me to be the right one, parameters aren't actually implemented so using named paramets is not possible yet

@javiereguiluz
Copy link
Member

@MrYamous actually, the arguments do work and I'd personally love to use that in the examples.

But, after discussing internally in the Core Team, we decided to not use named arguments in Symfony Docs and the Symfony Blog. This is because Symfony can change the name of those arguments; they are not covered by the BC Promise.

@javiereguiluz javiereguiluz added this to the 7.2 milestone Dec 5, 2024
@javiereguiluz
Copy link
Member

Merged! Thank you

@javiereguiluz javiereguiluz merged commit 8319ddf into symfony:7.2 Dec 5, 2024
3 checks passed
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