DumpDataCollector
extends DataCollector
in package
implements
DataDumperInterface
DataCollector.
Tags
Interfaces, Classes, Traits and Enums
- 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
- {@inheritdoc}
- dump() : mixed
- getDumps() : mixed
- getDumpsCount() : mixed
- getName() : mixed
- reset() : mixed
- serialize() : mixed
- unserialize() : mixed
- cloneVar() : Data
- Converts the variable into a serializable Data instance.
- getCasters() : array<string|int, callable>
- doDump() : mixed
Properties
$data
protected
array<string|int, mixed>|Data
$data
= []
$charset
private
mixed
$charset
$cloner
private
ClonerInterface
$cloner
$clonesCount
private
mixed
$clonesCount
= 0
$clonesIndex
private
mixed
$clonesIndex
= 0
$dataCount
private
mixed
$dataCount
= 0
$dumper
private
mixed
$dumper
$fileLinkFormat
private
mixed
$fileLinkFormat
$isCollected
private
mixed
$isCollected
= true
$requestStack
private
mixed
$requestStack
$rootRefs
private
mixed
$rootRefs
$sourceContextProvider
private
mixed
$sourceContextProvider
$stopwatch
private
mixed
$stopwatch
Methods
__clone()
public
__clone() : mixed
Return values
mixed —__construct()
public
__construct([Stopwatch $stopwatch = null ][, mixed $fileLinkFormat = null ][, string $charset = null ][, RequestStack $requestStack = null ][, DataDumperInterface|Connection|null $dumper = null ]) : mixed
Parameters
- $stopwatch : Stopwatch = null
- $fileLinkFormat : mixed = null
- $charset : string = null
- $requestStack : RequestStack = null
- $dumper : DataDumperInterface|Connection|null = null
Return values
mixed —__destruct()
public
__destruct() : mixed
Return values
mixed —__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
public
__wakeup() : mixed
Return values
mixed —collect()
{@inheritdoc}
public
collect(Request $request, Response $response) : mixed
Parameters
Return values
mixed —dump()
public
dump(Data $data) : mixed
Parameters
- $data : Data
Return values
mixed —getDumps()
public
getDumps(mixed $format[, mixed $maxDepthLimit = -1 ][, mixed $maxItemsPerDepth = -1 ]) : mixed
Parameters
- $format : mixed
- $maxDepthLimit : mixed = -1
- $maxItemsPerDepth : mixed = -1
Return values
mixed —getDumpsCount()
public
getDumpsCount() : mixed
Return values
mixed —getName()
public
getName() : mixed
Return values
mixed —reset()
public
reset() : mixed
Return values
mixed —serialize()
public
serialize() : mixed
Tags
Return values
mixed —unserialize()
public
unserialize(mixed $data) : mixed
Parameters
- $data : mixed
Tags
Return values
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
doDump()
private
doDump(DataDumperInterface $dumper, mixed $data, string $name, string $file, int $line) : mixed
Parameters
- $dumper : DataDumperInterface
- $data : mixed
- $name : string
- $file : string
- $line : int