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(Exception $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 228
static dumpException(Exception $e)

internal  
 

No description

Parameters

Exception $e

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

internal  
 

Dumps data to folder 'output'.

Parameters

$testFile
$content
$suffix

Return Value

string

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

Applies color to string.

Parameters

$color
$s

Return Value

string

at line 350
static removeColors($s)

No description

Parameters

$s