class Dumper

Dumps PHP variables.

Properties

static $maxLength
static $maxDepth
static $dumpDir
static $maxPathSegments

Methods

static string
toLine($var)

Dumps information about a variable in readable format.

static string
toPhp($var)

Dumps variable in PHP format.

static 
dumpException($e)

No description

static string
saveOutput($testFile, $content, $suffix = '')

Dumps data to folder 'output'.

static string
color($color = NULL, $s = NULL)

Applies color to string.

static 
removeColors($s)

No description

Details

at line 26
static string toLine($var)

Dumps information about a variable in readable format.

Parameters

$var

Return Value

string

at line 114
static string toPhp($var)

Dumps variable in PHP format.

Parameters

$var

Return Value

string

at line 250
static dumpException($e)

internal  
 

No description

Parameters

$e

at line 345
static string saveOutput($testFile, $content, $suffix = '')

internal  
 

Dumps data to folder 'output'.

Parameters

$testFile
$content
$suffix

Return Value

string

at line 361
static string color($color = NULL, $s = NULL)

Applies color to string.

Parameters

$color
$s

Return Value

string

at line 377
static removeColors($s)

No description

Parameters

$s