8000 minor #8185 [WCM] Document new min_depth configuration option (james-… · symfony/symfony-docs@3202cf0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3202cf0

Browse files
committed
minor #8185 [WCM] Document new min_depth configuration option (james-johnston-thumbtack)
This PR was merged into the 3.4 branch. Discussion ---------- [WCM] Document new min_depth configuration option Documentation for new `min_depth` configuration option in DebugBundle. (This configuration option is pending code review/merge.) Commits ------- c6d9e67 Document new min_depth configuration option
2 parents 5a7d286 + c6d9e67 commit 3202cf0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/configuration/debug.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Configuration
1919
-------------
2020

2121
* `max_items`_
22+
* `min_depth`_
2223
* `max_string_length`_
2324
* `dump_destination`_
2425

@@ -30,6 +31,19 @@ max_items
3031
This is the maximum number of items to dump. Setting this option to ``-1``
3132
disables the limit.
3233

34+
min_depth
35+
~~~~~~~~~
36+
37+
**type**: ``integer`` **default**: ``1``
38+
39+
Configures the minimum tree depth where we are guaranteed to clone
40+
all the items. After this depth is reached, only ``max_items``
41+
items will be cloned. The default value is ``1``, which is consistent
42+
with older Symfony versions.
43+
44+
.. versionadded:: 3.4
45+
The ``min_depth`` option was introduced in Symfony 3.4.
46+
3347
max_string_length
3448
~~~~~~~~~~~~~~~~~
3549

0 commit comments

Comments
 (0)
0