how to set COLLAPSE_COUNT constant?

šuf
Member | 14
+
0
-

I need to set COLLAPSE_COUNT constant (part of https://api.nette.org/…/Dumper.html) to other than default value. Tried several ways, nothing works. Please help :).

CZechBoY
Member | 3608
+
0
-
dump($data, [Dumper::COLLAPSE_COUNT => 9999]);

Last edited by CZechBoY (6. 12. 2016 9:24)

šuf
Member | 14
+
0
-

does not work
dumps two variables like this:

array (72)
array (1)
collapsecount ⇒ 9999

šuf
Member | 14
+
0
-

this worked>

Dumper::toHtml($var,array(‘collapse’=>10000,‘collapsecount’=>10000));

RSS feed Topic closed