final class Dumper

PHP code generator utils.

Constants

private INDENT_LENGTH

Properties

$maxDepth
$wrapLength
$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 30
string dump($var, int $column = 0)

Returns a PHP representation of a variable.

Parameters

$var
int $column

Return Value

string

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

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

Parameters

string $statement
...$args

Return Value

string

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

internal  
 

No description

Parameters

string $class
array $props

Return Value

object