@@ -61,14 +61,14 @@ you can configure these limits:
6161* in both cases, specifying `-1 ` removes any limit.
6262
6363Before 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