final class Dumper

PHP code generator utils.

Constants

private INDENT_LENGTH

Properties

int $maxDepth
int $wrapLength
string $indentation

Methods

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

Returns a PHP representation of a variable.

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

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

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

No description

Details

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

Returns a PHP representation of a variable.

Parameters

$var
int $column

Return Value

string

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

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

Parameters

string $statement
...$args

Return Value

string

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

internal  
 

No description

Parameters

string $class
array $props

Return Value

object