class Dumper

PHP code generator utils.

Constants

INDENT_LENGTH

Properties

int $maxDepth
int $wrapLength

Methods

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

Returns a PHP representation of a variable.

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

Generates PHP statement.

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

No description

Details

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

Returns a PHP representation of a variable.

Parameters

$var
int $column

Return Value

string

at line 171
string format(string $statement, ...$args)

Generates PHP statement.

Parameters

string $statement
...$args

Return Value

string

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

Parameters

string $class
array $props

Return Value

object