final class Dumper

Generates a PHP representation of a variable.

Constants

private IndentLength

Properties

$maxDepth
$wrapLength
$indentation
$customObjects

Methods

string
dump(mixed $var, int $column = 0)

Returns a PHP representation of a variable.

string
format(string $statement, mixed ...$args)

Generates PHP statement. Supports placeholders: ? \? $? ->? ::? ...? ...?: ?*

static object
createObject(string $class, array $props)

No description

Details

at line 31
string dump(mixed $var, int $column = 0)

Returns a PHP representation of a variable.

Parameters

mixed $var
int $column

Return Value

string

at line 220
string format(string $statement, mixed ...$args)

Generates PHP statement. Supports placeholders: ? \? $? ->? ::? ...? ...?: ?*

Parameters

string $statement
mixed ...$args

Return Value

string

at line 279
static object createObject(string $class, array $props)

internal  
 

No description

Parameters

string $class
array $props

Return Value

object