\Symfony\Component\VarDumper\CasterReflectionCaster

Casts Reflector related classes to array representation.

Summary

Methods
Properties
Constants
castClosure()
unsetClosureFileInfo()
castGenerator()
castType()
castReflectionGenerator()
castClass()
castFunctionAbstract()
castMethod()
castParameter()
castProperty()
castReference()
castExtension()
castZendExtension()
getSignature()
No public properties found
UNSET_CLOSURE_FILE_INFO
No protected methods found
No protected properties found
N/A
addExtra()
addMap()
$extraMap
N/A

Constants

UNSET_CLOSURE_FILE_INFO

UNSET_CLOSURE_FILE_INFO = ['Closure' => __CLASS__ . '::unsetClosureFileInfo']

Properties

$extraMap

$extraMap

Methods

castClosure()

castClosure(\Closure  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested, mixed  $filter) : mixed

Parameters

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

Returns

mixed —

unsetClosureFileInfo()

unsetClosureFileInfo(\Closure  $c, array  $a) : mixed

Parameters

\Closure $c
array $a

Returns

mixed —

castGenerator()

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

Parameters

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

Returns

mixed —

castType()

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

Parameters

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

Returns

mixed —

castReflectionGenerator()

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

Parameters

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

Returns

mixed —

castClass()

castClass(\ReflectionClass  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested, mixed  $filter) : mixed

Parameters

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

Returns

mixed —

castFunctionAbstract()

castFunctionAbstract(\ReflectionFunctionAbstract  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested, mixed  $filter) : mixed

Parameters

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

Returns

mixed —

castMethod()

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

Parameters

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

Returns

mixed —

castParameter()

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

Parameters

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

Returns

mixed —

castProperty()

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

Parameters

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

Returns

mixed —

castReference()

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

Parameters

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

Returns

mixed —

castExtension()

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

Parameters

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

Returns

mixed —

castZendExtension()

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

Parameters

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

Returns

mixed —

getSignature()

getSignature(array  $a) : mixed

Parameters

array $a

Returns

mixed —

addExtra()

addExtra(array  $a, \Reflector  $c) : mixed

Parameters

array $a
\Reflector $c

Returns

mixed —

addMap()

addMap(array  $a, \Reflector  $c, array  $map, string  $prefix = Caster::PREFIX_VIRTUAL) : mixed

Parameters

array $a
\Reflector $c
array $map
string $prefix

Returns

mixed —