DumpDataCollector
extends DataCollector
in package
implements
DataDumperInterface
DataCollector.
Tags
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
$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|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 —__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()
public
collect(Request $request, Response $response[, Throwable|null $exception = null ]) : mixed
Parameters
Return values
mixed —dump()
public
dump(Data $data) : mixed
Parameters
- $data : Data
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> —getDumpsCount()
public
getDumpsCount() : int
Return values
int —getName()
public
getName() : string
Return values
string —reset()
public
reset() : mixed
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, Data $data, string $name, string $file, int $line) : mixed
Parameters
- $dumper : DataDumperInterface
- $data : Data
- $name : string
- $file : string
- $line : int