DUMP_LIGHT_ARRAY
DUMP_LIGHT_ARRAY = 1
CliDumper dumps variables for command line output.
__construct(mixed $output = null, string $charset = null, int $flags) : mixed
mixed | $output | A line dumper callable, an opened stream or an output path, defaults to static::$defaultOutput |
string | $charset | The default character encoding to use for non-UTF8 strings |
int | $flags | A bit field of static::DUMP_* constants to fine tune dumps representation |
dump(\Symfony\Component\VarDumper\Cloner\Data $data, callable|resource|string|true|null $output = null) : string|null
Dumps a Data object.
\Symfony\Component\VarDumper\Cloner\Data | $data | |
callable|resource|string|true|null | $output | A line dumper callable, an opened stream, an output path or true to return the dump |
The dump as string when $output is true
dumpEllipsis(\Symfony\Component\VarDumper\Cloner\Cursor $cursor, bool $hasChild, int $cut) : mixed
Dumps an ellipsis for cut children.
\Symfony\Component\VarDumper\Cloner\Cursor | $cursor | |
bool | $hasChild | When the dump of the hash has child item |
int | $cut | The number of items the hash has been cut by |