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

Details

at line 109
static mixed dump($var, array $options = [])

Dumps variable to the output.

Parameters

$var
array $options

Return Value

mixed variable

at line 125
static string toHtml($var, array $options = [])

Dumps variable to HTML.

Parameters

$var
array $options

Return Value

string

at line 134
static string toText($var, array $options = [])

Dumps variable to plain text.

Parameters

$var
array $options

Return Value

string

at line 143
static string toTerminal($var, array $options = [])

Dumps variable to x-terminal.

Parameters

$var
array $options

Return Value

string

at line 483
static string formatSnapshotAttribute(array $snapshot)

Parameters

array $snapshot

Return Value

string

at line 499
static string encodeString(string $s, int $maxLength = null)

Parameters

string $s
int $maxLength

Return Value

string