We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdfc18 commit ba83fd2Copy full SHA for ba83fd2
components/http_foundation.rst
@@ -144,6 +144,13 @@ has some methods to filter the input values:
144
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getInt`
145
Returns the parameter value converted to integer;
146
147
+:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getEnum`
148
+ Returns the parameter value converted to a PHP enum;
149
+
150
+.. versionadded:: 6.3
151
152
+ The `ParameterBag::getEnum()` method was added in Symfony 6.3.
153
154
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::filter`
155
Filters the parameter by using the PHP :phpfunction:`filter_var` function.
156
0 commit comments