Dumper
final class Dumper
Generates a PHP representation of a variable.
Constants
| private IndentLength |
|
Properties
| $maxDepth | |||
| $wrapLength | |||
| $indentation | |||
| $customObjects | |||
| $references | |||
| $context |
Methods
string
dump(mixed $var, int $column = 0)
Converts a value to its PHP code representation.
string
format(string $statement, mixed ...$args)
Formats a PHP expression using placeholders.
static object
createObject(string $class, array $props)
No description
Details
at line 36
string
dump(mixed $var, int $column = 0)
Converts a value to its PHP code representation.
at line 293
string
format(string $statement, mixed ...$args)
Formats a PHP expression using placeholders.
Supported placeholders: ? (value), \? (literal ?), $? (variable), ->? (property access), ::? (static access), ...? (spread array), ...?: (named spread), ?* (alias for ...?)
at line 353
static object
createObject(string $class, array $props)
| internal |
No description