We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent530e8c4 commitf60eb6eCopy full SHA for f60eb6e
components/http_foundation/introduction.rst
@@ -134,8 +134,8 @@ has some methods to filter the input values:
134
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::filter`
135
Filters the parameter by using the PHP:phpfunction:`filter_var` function.
136
137
-All getters take up to three arguments: the first one is the parameter name and
138
-the second one is the default value to return if the parameter does not
+All getters take up to three arguments: the first one is the parameter name
+andthe second one is the default value to return if the parameter does not
139
exist::
140
141
// the query string is '?foo=bar'
@@ -148,7 +148,6 @@ exist::
148
149
$request->query->get('bar', 'bar');
150
// returns 'bar'
151
-
152
153
When PHP imports the request query, it handles request parameters like
154
``foo[bar]=bar`` in a special way as it creates an array. So you can get the