File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1250,6 +1250,22 @@ activate the data collectors manually::
1250
1250
1251
1251
$profiler->enable();
1252
1252
1253
+ collect_parameter
1254
+ .................
1255
+
1256
+ **type **: ``string `` **default **: ``null ``
1257
+
1258
+ This specifies name of a query parameter, a body parameter or a request attribute
1259
+ used to enable or disable collection of data by the profiler for each request.
1260
+ Combine it with the ``collect `` option to enable/disable the profiler on demand:
1261
+
1262
+ * If the ``collect `` option is set to ``true `` but this parameter exists in a
1263
+ request and has any value other than ``true ``, ``yes ``, ``on `` or ``1 ``, the
1264
+ request data will not be collected;
1265
+ * If the ``collect `` option is set to ``false ``, but this parameter exists in a
1266
+ request and has value of ``true ``, ``yes ``, ``on `` or ``1 ``, the request data
1267
+ will be collected.
1268
+
1253
1269
only_exceptions
1254
1270
...............
1255
1271
You can’t perform that action at this time.
0 commit comments