Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit83e366a

Browse files
SzymonKaminskijaviereguiluz
authored andcommitted
[FrameworkBundle][HttpKernel] Documentcollect_parameter
1 parent2e4bc20 commit83e366a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,24 @@ activate the data collectors manually::
12981298

12991299
$profiler->enable();
13001300

1301+
collect_parameter
1302+
.................
1303+
1304+
**type**: ``string`` **default**: ``null``
1305+
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+
If ``collect`` flag is set to ``false``, but the parameter exists in a request
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.
1318+
13011319
only_exceptions
13021320
...............
13031321

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp