@@ -1303,13 +1303,18 @@ collect_parameter
1303
1303
1304
1304
**type **: ``string `` **default **: ``null ``
1305
1305
1306
- This option allows to enable or disable the profiler on a per request basis
1307
- using a query parameter, body parameter or a request attribute with the given name.
1308
- If ``collect `` flag is set to ``true ``, but the parameter exists in a request
1309
- and has any value other than ``true ``, `` yes ``, `` on `` or `` 1 ``,
1310
- the request data will not be collected.
1306
+ This specifies name of query parameter, body parameter or a request attribute
1307
+ that can be used to enable or disable collection of data by the profiler
1308
+ individually for each request. If ``collect `` flag is set to ``true ``,
1309
+ but the parameter exists in a request and has any value other than ``true ``,
1310
+ `` yes ``, `` on `` or `` 1 ``, the request data will not be collected.
1311
1311
If ``collect `` flag is set to ``false ``, but the parameter exists in a request
1312
- and has value of ``true ``, ``yes ``, ``on `` or ``1 ``, the request data will be collected.
1312
+ and has value of ``true ``, ``yes ``, ``on `` or ``1 ``,
1313
+ the request data will be collected.
1314
+
1315
+ .. versionadded :: 5.4
1316
+
1317
+ The `collect_parameter ` was introduced in Symfony 5.4.
1313
1318
1314
1319
only_exceptions
1315
1320
...............
0 commit comments