Dumper
extends CliDumper
in package
A PsySH-specialized CliDumper.
Table of Contents
- DUMP_COMMA_SEPARATOR = 4
- DUMP_LIGHT_ARRAY = 1
- DUMP_STRING_LENGTH = 2
- DUMP_TRAILING_COMMA = 8
- $defaultColors : mixed
- $defaultOutput : mixed
- $collapseNextHash : mixed
- $colors : mixed
- $controlCharsMap : mixed
- $controlCharsRx : mixed
- $decimalPoint : mixed
- $expandNextHash : mixed
- $flags : mixed
- $indentPad : mixed
- $line : mixed
- $lineDumper : mixed
- $maxStringWidth : mixed
- $onlyControlCharsRx : mixed
- $outputStream : mixed
- $styles : mixed
- $charset : mixed
- $forceArrayIndexes : mixed
- $formatter : mixed
- __construct() : mixed
- dump() : string|null
- Dumps a Data object.
- dumpScalar() : mixed
- {@inheritdoc}
- dumpString() : mixed
- {@inheritdoc}
- enterHash() : mixed
- {@inheritdoc}
- leaveHash() : mixed
- {@inheritdoc}
- setCharset() : string
- Sets the default character encoding to use for non-UTF8 strings.
- setColors() : mixed
- Enables/disables colored output.
- setIndentPad() : string
- Sets the indentation pad string.
- setMaxStringWidth() : mixed
- Sets the maximum number of characters per line for dumped strings.
- setOutput() : callable|resource|string
- Sets the output destination of the dumps.
- setStyles() : mixed
- Configures styles.
- dumpEllipsis() : mixed
- Dumps an ellipsis for cut children.
- dumpKey() : mixed
- Dumps a key in a hash structure.
- dumpLine() : mixed
- Dumps the current line.
- echoLine() : mixed
- Generic line dumper callback.
- endValue() : mixed
- style() : string
- Decorates a value with some style.
- supportsColors() : bool
- utf8Encode() : string|null
- Converts a non-UTF-8 string to UTF-8.
- hasColorSupport() : bool
- Returns true if the stream supports colorization.
- isWindowsTrueColor() : bool
- Returns true if the Windows terminal supports true color.
Constants
DUMP_COMMA_SEPARATOR
public
mixed
DUMP_COMMA_SEPARATOR
= 4
DUMP_LIGHT_ARRAY
public
mixed
DUMP_LIGHT_ARRAY
= 1
DUMP_STRING_LENGTH
public
mixed
DUMP_STRING_LENGTH
= 2
DUMP_TRAILING_COMMA
public
mixed
DUMP_TRAILING_COMMA
= 8
Properties
$defaultColors
public
static mixed
$defaultColors
$defaultOutput
public
static mixed
$defaultOutput
= 'php://output'
$collapseNextHash
protected
mixed
$collapseNextHash
= false
$colors
protected
mixed
$colors
$controlCharsMap
protected
static mixed
$controlCharsMap
= ["