-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] Add method getString
to ParameterBag
#46245
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
Conversation
Co-authored-by: Alexander M. Turek <me@derrabus.de>
Co-authored-by: Alexander M. Turek <me@derrabus.de>
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
getString
to ParameterBag
Hey! I think @W0246645 has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
|
||
* Add method `convertString` to `ParameterBag` | ||
* Rename method `getInt` to `convertInt` in `ParameterBag` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add deprecate convertInt ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but convertInt
is not deprecated...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant getInt()
@fabpot , WDT?) |
Closing in favor of #44787, which I'm reopening because there are useful comments there that shouldn't be lost. |
Added method
getString
toParameterBag
for use strict type. We really need this method to make it easier to work with strong typing, because theget
method returns several data types, and we need a specific one.Reopen old PR #44787, I closed by my mistake...