b13b1c83
Mihail
final version par...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
/**
* Created by PhpStorm.
* User: Cibermag
* Date: 27.08.2015
* Time: 16:47
*/
namespace common\components\debug;
use yii\helpers\BaseVarDumper;
class CustomVarDamp extends BaseVarDumper {
public static function dumpAndDie($var, $depth = 10, $highlight = false)
{
echo "<pre>";
echo static::dumpAsString($var, $depth, $highlight);
echo "</pre>";
die;
}
|
999b9326
Mihail
add detectStartPo...
|
20
21
22
23
24
25
26
|
public static function dump($var, $depth = 10, $highlight = false)
{
echo "<pre>";
echo static::dumpAsString($var, $depth, $highlight);
echo "</pre>";
}
|