Documentation

DumpDataCollector extends DataCollector
in package
implements DataDumperInterface

DataCollector.

Tags
author

Nicolas Grekas p@tchwork.com

final

Table of Contents

Interfaces

DataDumperInterface
DataDumperInterface for dumping Data objects.

Properties

$data  : array<string|int, mixed>|Data
$charset  : string
$cloner  : mixed
$clonesCount  : int
$clonesIndex  : int
$dataCount  : int
$dumper  : mixed
$fileLinkFormat  : string|FileLinkFormatter|false
$isCollected  : bool
$requestStack  : mixed
$rootRefs  : array<string|int, mixed>
$sourceContextProvider  : mixed
$stopwatch  : mixed

Methods

__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

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, 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


        
On this page

Search results