@@ -69,7 +69,7 @@ can be accessed via several public properties:
69
69
70
70
* ``server ``: equivalent of ``$_SERVER ``;
71
71
72
- * ``headers ``: mostly equivalent to a sub-set of ``$_SERVER ``
72
+ * ``headers ``: mostly equivalent to a subset of ``$_SERVER ``
73
73
(``$request->headers->get('User-Agent') ``).
74
74
75
75
Each property is a :class: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag `
@@ -90,7 +90,7 @@ instance (or a sub-class of), which is a data holder class:
90
90
* ``headers ``: :class: `Symfony\\ Component\\ HttpFoundation\\ HeaderBag `.
91
91
92
92
All :class: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag ` instances have
93
- methods to retrieve and update its data:
93
+ methods to retrieve and update their data:
94
94
95
95
:method: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag::all `
96
96
Returns the parameters.
@@ -157,16 +157,16 @@ sometimes, you might want to get the value for the "original" parameter name:
157
157
:method: `Symfony\\ Component\\ HttpFoundation\\ Request::get ` via the third
158
158
argument::
159
159
160
- // the query string is '?foo[bar]=bar'
160
+ // the query string is '?foo[bar]=bar'
161
161
162
- $request->query->get('foo');
163
- // returns array('bar' => 'bar')
162
+ $request->query->get('foo');
163
+ // returns array('bar' => 'bar')
164
164
165
- $request->query->get('foo[bar]');
166
- // returns null
165
+ $request->query->get('foo[bar]');
166
+ // returns null
167
167
168
- $request->query->get('foo[bar]', null, true);
169
- // returns 'bar'
168
+ $request->query->get('foo[bar]', null, true);
169
+ // returns 'bar'
170
170
171
171
.. _component-foundation-attributes :
172
172
@@ -485,7 +485,7 @@ You can still set the ``Content-Type`` of the sent file, or change its ``Content
485
485
.. versionadded :: 2.6
486
486
The ``deleteFileAfterSend() `` method was introduced in Symfony 2.6.
487
487
488
- It is possible to delete the file after the request is sent with the
488
+ It is possible to delete the file after the request is sent with the
489
489
:method: `Symfony\\ Component\\ HttpFoundation\\ BinaryFileResponse::deleteFileAfterSend ` method.
490
490
Please note that this will not work when the ``X-Sendfile `` header is set.
491
491
0 commit comments