Dumper
class Dumper
Dumps a variable.
Constants
DEPTH |
|
TRUNCATE |
|
COLLAPSE |
|
COLLAPSE_COUNT |
|
LOCATION |
|
OBJECT_EXPORTERS |
|
LAZY |
|
LIVE |
|
SNAPSHOT |
|
DEBUGINFO |
|
KEYS_TO_HIDE |
|
LOCATION_SOURCE |
|
LOCATION_LINK |
|
LOCATION_CLASS |
|
HIDDEN_VALUE |
|
Properties
static array | $liveSnapshot | ||
static array | $terminalColors | ||
static array | $resources | ||
static array | $objectExporters |
Methods
static mixed
dump($var, array $options = [])
Dumps variable to the output.
static string
toHtml($var, array $options = [])
Dumps variable to HTML.
static string
toText($var, array $options = [])
Dumps variable to plain text.
static string
toTerminal($var, array $options = [])
Dumps variable to x-terminal.
static string
formatSnapshotAttribute(array $snapshot)
No description
static string
encodeString(string $s, int $maxLength = null)
No description
static string
truncateString(string $s, int $maxLength)
No description
static string
hideValue($var)
No description
Details
at line 109
static mixed
dump($var, array $options = [])
Dumps variable to the output.
at line 125
static string
toHtml($var, array $options = [])
Dumps variable to HTML.
at line 134
static string
toText($var, array $options = [])
Dumps variable to plain text.
at line 143
static string
toTerminal($var, array $options = [])
Dumps variable to x-terminal.
at line 519
static string
formatSnapshotAttribute(array $snapshot)
No description
at line 535
static string
encodeString(string $s, int $maxLength = null)
internal |
No description
at line 564
static string
truncateString(string $s, int $maxLength)
internal |
No description
at line 667
static string
hideValue($var)
internal |
No description