W3cubDocs

/Symfony 2.7

Symfony\Component\VarDumper\Caster\SplCaster

class SplCaster

Casts SPL related classes to array representation.

Methods

static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested)
static castHeap(Iterator $c, array $a, Stub $stub, $isNested)
static castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested)
static castFixedArray(SplFixedArray $c, array $a, Stub $stub, $isNested)
static castObjectStorage(SplObjectStorage $c, array $a, Stub $stub, $isNested)

Details

static public castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested)

Parameters

ArrayObject $c
array $a
Stub $stub
$isNested

static public castHeap(Iterator $c, array $a, Stub $stub, $isNested)

Parameters

Iterator $c
array $a
Stub $stub
$isNested

static public castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested)

Parameters

SplDoublyLinkedList $c
array $a
Stub $stub
$isNested

static public castFixedArray(SplFixedArray $c, array $a, Stub $stub, $isNested)

Parameters

SplFixedArray $c
array $a
Stub $stub
$isNested

static public castObjectStorage(SplObjectStorage $c, array $a, Stub $stub, $isNested)

Parameters

SplObjectStorage $c
array $a
Stub $stub
$isNested

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/VarDumper/Caster/SplCaster.html