\Symfony\Component\VarDumper\CasterSplCaster

Casts SPL related classes to array representation.

Summary

Methods
Properties
Constants
castArrayObject()
castArrayIterator()
castHeap()
castDoublyLinkedList()
castFileInfo()
castFileObject()
castObjectStorage()
castOuterIterator()
castWeakReference()
No public properties found
SPL_FILE_OBJECT_FLAGS
No protected methods found
No protected properties found
N/A
castSplArray()
No private properties found
N/A

Constants

SPL_FILE_OBJECT_FLAGS

SPL_FILE_OBJECT_FLAGS = [\SplFileObject::DROP_NEW_LINE => 'DROP_NEW_LINE', \SplFileObject::READ_AHEAD => 'READ_AHEAD', \SplFileObject::SKIP_EMPTY => 'SKIP_EMPTY', \SplFileObject::READ_CSV => 'READ_CSV']

Methods

castArrayObject()

castArrayObject(\ArrayObject  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\ArrayObject $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castArrayIterator()

castArrayIterator(\ArrayIterator  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\ArrayIterator $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castHeap()

castHeap(\Iterator  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\Iterator $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castDoublyLinkedList()

castDoublyLinkedList(\SplDoublyLinkedList  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\SplDoublyLinkedList $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castFileInfo()

castFileInfo(\SplFileInfo  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\SplFileInfo $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castFileObject()

castFileObject(\SplFileObject  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\SplFileObject $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castObjectStorage()

castObjectStorage(\SplObjectStorage  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\SplObjectStorage $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castOuterIterator()

castOuterIterator(\OuterIterator  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\OuterIterator $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castWeakReference()

castWeakReference(\WeakReference  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\WeakReference $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castSplArray()

castSplArray(mixed  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, bool  $isNested) : array

Parameters

mixed $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
bool $isNested

Returns

array —