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.
ParameterBag::getString()
1 parent dc7368b commit 7b1160cCopy full SHA for 7b1160c
components/http_foundation.rst
@@ -147,9 +147,13 @@ has some methods to filter the input values:
147
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getEnum`
148
Returns the parameter value converted to a PHP enum;
149
150
+:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getString`
151
+ Returns the parameter value as a string;
152
+
153
.. versionadded:: 6.3
154
- The ``ParameterBag::getEnum()`` method was introduced in Symfony 6.3.
155
+ The ``ParameterBag::getEnum()`` and ``ParameterBag::getString()`` methods
156
+ were introduced in Symfony 6.3.
157
158
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::filter`
159
Filters the parameter by using the PHP :phpfunction:`filter_var` function.
0 commit comments