Call static::dumpAsString in VarDumper::dump

This way we can extend VarDumper::dumpAsString
This commit is contained in:
Rinat Silnov
2013-05-05 19:25:36 +04:00
parent e087533fa7
commit 47c643fbff

View File

@ -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);
}
/**