Skip to content

[WCM] Document new min_depth configuration option #8185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Document new min_depth configuration option
  • Loading branch information
james-johnston-thumbtack committed Jul 17, 2017
commit c6d9e670ec2d9fe621f633c219700d57c854c40d
14 changes: 14 additions & 0 deletions reference/configuration/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Configuration
-------------

* `max_items`_
* `min_depth`_
* `max_string_length`_
* `dump_destination`_

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

min_depth
~~~~~~~~~

**type**: ``integer`` **default**: ``1``

Configures the minimum tree depth where we are guaranteed to clone
all the items. After this depth is reached, only ``max_items``
items will be cloned. The default value is ``1``, which is consistent
with older Symfony versions.

.. versionadded:: 3.4
The ``min_depth`` option was introduced in Symfony 3.4.

max_string_length
~~~~~~~~~~~~~~~~~

Expand Down