From c6d9e670ec2d9fe621f633c219700d57c854c40d Mon Sep 17 00:00:00 2001 From: James Johnston Date: Mon, 17 Jul 2017 09:11:01 -0700 Subject: [PATCH] Document new min_depth configuration option --- reference/configuration/debug.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/reference/configuration/debug.rst b/reference/configuration/debug.rst index 9b71abea50c..5ab84fcc97e 100644 --- a/reference/configuration/debug.rst +++ b/reference/configuration/debug.rst @@ -19,6 +19,7 @@ Configuration ------------- * `max_items`_ +* `min_depth`_ * `max_string_length`_ * `dump_destination`_ @@ -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 ~~~~~~~~~~~~~~~~~