Documentation

DumpDataCollector extends DataCollector
in package
implements DataDumperInterface

DataCollector.

Tags
author

Nicolas Grekas p@tchwork.com

final

Interfaces, Classes and Traits

DataDumperInterface
DataDumperInterface for dumping Data objects.

Table of Contents

$data  : array<string|int, mixed>|Data
$charset  : mixed
$cloner  : ClonerInterface
$clonesCount  : mixed
$clonesIndex  : mixed
$dataCount  : mixed
$dumper  : mixed
$fileLinkFormat  : mixed
$isCollected  : mixed
$requestStack  : mixed
$rootRefs  : mixed
$sourceContextProvider  : mixed
$stopwatch  : mixed
__clone()  : mixed
__construct()  : mixed
__destruct()  : mixed
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
collect()  : mixed
dump()  : mixed
getDumps()  : array<string|int, mixed>
getDumpsCount()  : int
getName()  : string
reset()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
doDump()  : mixed

Properties

Methods

__construct()

public __construct([Stopwatch|null $stopwatch = null ][, string|FileLinkFormatter|null $fileLinkFormat = null ][, string|null $charset = null ][, RequestStack|null $requestStack = null ][, DataDumperInterface|Connection|null $dumper = null ]) : mixed
Parameters
$stopwatch : Stopwatch|null = null
$fileLinkFormat : string|FileLinkFormatter|null = null
$charset : string|null = null
$requestStack : RequestStack|null = null
$dumper : DataDumperInterface|Connection|null = null
Return values
mixed

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__wakeup()

public __wakeup() : mixed
Return values
mixed

getDumps()

public getDumps(string $format[, int $maxDepthLimit = -1 ][, int $maxItemsPerDepth = -1 ]) : array<string|int, mixed>
Parameters
$format : string
$maxDepthLimit : int = -1
$maxItemsPerDepth : int = -1
Return values
array<string|int, mixed>

cloneVar()

Converts the variable into a serializable Data instance.

protected cloneVar(mixed $var) : Data

This array can be displayed in the template using the VarDumper component.

Parameters
$var : mixed
Return values
Data

getCasters()

protected getCasters() : array<string|int, callable>
Return values
array<string|int, callable>

The casters to add to the cloner

Search results