Skip to content

Commit ba52b15

Browse files
[VarDumper] upgrade doc to 2.7 wither interface
1 parent d6a838a commit ba52b15

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

components/var_dumper/advanced.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ you can configure these limits:
6161
* in both cases, specifying `-1` removes any limit.
6262

6363
Before dumping it, you can further limit the resulting
64-
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object by calling its
65-
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::getLimitedClone`
66-
method:
67-
68-
* the first ``$maxDepth`` argument allows limiting dumps in the depth dimension,
69-
* the second ``$maxItemsPerDepth`` limits the number of items per depth level,
70-
* and the last ``$useRefHandles`` defaults to ``true``, but allows removing
71-
internal objects' handles for sparser output,
64+
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object:
65+
66+
* :method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withMaxDepth` allows
67+
limiting dumps in the depth dimension,
68+
* :method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withMaxItemsPerDepth`
69+
limits the number of items per depth level,
70+
* :method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withRefHandles` allows
71+
removing internal objects' handles for sparser output (useful for tests),
7272
* but unlike the previous limits on cloners that remove data on purpose,
7373
these can be changed back and forth before dumping since they do not affect
7474
the intermediate representation internally.

0 commit comments

Comments
 (0)