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 @@ -1264,6 +1264,22 @@ activate the data collectors manually::
12641264
12651265 $profiler->enable();
12661266
1267+ collect_parameter
1268+ .................
1269+
1270+ **type **: ``string `` **default **: ``null ``
1271+
1272+ This specifies name of a query parameter, a body parameter or a request attribute
1273+ used to enable or disable collection of data by the profiler for each request.
1274+ Combine it with the ``collect `` option to enable/disable the profiler on demand:
1275+
1276+ * If the ``collect `` option is set to ``true `` but this parameter exists in a
1277+ request and has any value other than ``true ``, ``yes ``, ``on `` or ``1 ``, the
1278+ request data will not be collected;
1279+ * If the ``collect `` option is set to ``false ``, but this parameter exists in a
1280+ request and has value of ``true ``, ``yes ``, ``on `` or ``1 ``, the request data
1281+ will be collected.
1282+
12671283only_exceptions
12681284...............
12691285
You can’t perform that action at this time.
0 commit comments