\Symfony\Component\VarDumper\ClonerData

Summary

Methods
Properties
Constants
__construct()
getRawData()
getLimitedClone()
dump()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
dumpItem()
dumpChildren()
$data
$maxDepth
$maxItemsPerDepth
$useRefHandles
N/A

Properties

$data

$data : 

Type

$maxDepth

$maxDepth : 

Type

$maxItemsPerDepth

$maxItemsPerDepth : 

Type

$useRefHandles

$useRefHandles : 

Type

Methods

__construct()

__construct(array  $data) 

Parameters

array $data

A array as returned by ClonerInterface::cloneVar().

getRawData()

getRawData() : array

Returns

array —

The raw data structure.

getLimitedClone()

getLimitedClone(integer  $maxDepth, integer  $maxItemsPerDepth, boolean  $useRefHandles = true) : self

Returns a depth limited clone of $this.

Parameters

integer $maxDepth

The max dumped depth level.

integer $maxItemsPerDepth

The max number of items dumped per depth level.

boolean $useRefHandles

False to hide ref. handles.

Returns

self —

A depth limited clone of $this.

dumpChildren()

dumpChildren(\Symfony\Component\VarDumper\Cloner\DumperInterface  $dumper, \Symfony\Component\VarDumper\Cloner\Cursor  $parentCursor,   $refs, array  $children, integer  $hashCut, string  $hashType) : integer

Dumps children of hash structures.

Parameters

\Symfony\Component\VarDumper\Cloner\DumperInterface $dumper
\Symfony\Component\VarDumper\Cloner\Cursor $parentCursor

The cursor of the parent hash.

$refs
array $children

The children to dump.

integer $hashCut

The number of items removed from the original hash.

string $hashType

A Cursor::HASH_* const.

Returns

integer —

The final number of removed items.