@@ -61,14 +61,14 @@ you can configure these limits:
61
61
* in both cases, specifying `-1 ` removes any limit.
62
62
63
63
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) ,
72
72
* but unlike the previous limits on cloners that remove data on purpose,
73
73
these can be changed back and forth before dumping since they do not affect
74
74
the intermediate representation internally.
0 commit comments