W3cubDocs

/Symfony 4.1

SplCaster

class SplCaster

Casts SPL related classes to array representation.

Methods

static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested)
static castArrayIterator(ArrayIterator $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 castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested)
static castFileObject(SplFileObject $c, array $a, Stub $stub, $isNested)
static castFixedArray(SplFixedArray $c, array $a, Stub $stub, $isNested)
static castObjectStorage(SplObjectStorage $c, array $a, Stub $stub, $isNested)
static castOuterIterator(OuterIterator $c, array $a, Stub $stub, $isNested)

Details

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

Parameters

ArrayObject $c
array $a
Stub $stub
$isNested

static castArrayIterator(ArrayIterator $c, array $a, Stub $stub, $isNested)

Parameters

ArrayIterator $c
array $a
Stub $stub
$isNested

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

Parameters

Iterator $c
array $a
Stub $stub
$isNested

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

Parameters

SplDoublyLinkedList $c
array $a
Stub $stub
$isNested

static castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested)

Parameters

SplFileInfo $c
array $a
Stub $stub
$isNested

static castFileObject(SplFileObject $c, array $a, Stub $stub, $isNested)

Parameters

SplFileObject $c
array $a
Stub $stub
$isNested

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

Parameters

SplFixedArray $c
array $a
Stub $stub
$isNested

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

Parameters

SplObjectStorage $c
array $a
Stub $stub
$isNested

static castOuterIterator(OuterIterator $c, array $a, Stub $stub, $isNested)

Parameters

OuterIterator $c
array $a
Stub $stub
$isNested

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Caster/SplCaster.html