Browse Source

Call static::dumpAsString in VarDumper::dump

This way we can extend VarDumper::dumpAsString
tags/2.0.0-beta
Rinat Silnov 12 years ago
parent
commit
47c643fbff
  1. 2
      framework/helpers/base/VarDumper.php

2
framework/helpers/base/VarDumper.php

@ -39,7 +39,7 @@ class VarDumper
*/
public static function dump($var, $depth = 10, $highlight = false)
{
echo self::dumpAsString($var, $depth, $highlight);
echo static::dumpAsString($var, $depth, $highlight);
}
/**

Loading…
Cancel
Save