how to set COLLAPSE_COUNT constant?

Notice: This thread is very old.
š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 | 3598
+
0
-
dump($data, [Dumper::COLLAPSE_COUNT => 9999]);

Last edited by CZechBoY (2016-12-06 09: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));