W3cubDocs

/Symfony 4.1

ReflectionCaster

class ReflectionCaster

Casts Reflector related classes to array representation.

Methods

static castClosure(Closure $c, array $a, Stub $stub, $isNested, $filter = 0)
static castGenerator(Generator $c, array $a, Stub $stub, $isNested)
static castType(ReflectionType $c, array $a, Stub $stub, $isNested)
static castReflectionGenerator(ReflectionGenerator $c, array $a, Stub $stub, $isNested)
static castClass(ReflectionClass $c, array $a, Stub $stub, $isNested, $filter = 0)
static castFunctionAbstract(ReflectionFunctionAbstract $c, array $a, Stub $stub, $isNested, $filter = 0)
static castMethod(ReflectionMethod $c, array $a, Stub $stub, $isNested)
static castParameter(ReflectionParameter $c, array $a, Stub $stub, $isNested)
static castProperty(ReflectionProperty $c, array $a, Stub $stub, $isNested)
static castExtension(ReflectionExtension $c, array $a, Stub $stub, $isNested)
static castZendExtension(ReflectionZendExtension $c, array $a, Stub $stub, $isNested)

Details

static castClosure(Closure $c, array $a, Stub $stub, $isNested, $filter = 0)

Parameters

Closure $c
array $a
Stub $stub
$isNested
$filter

static castGenerator(Generator $c, array $a, Stub $stub, $isNested)

Parameters

Generator $c
array $a
Stub $stub
$isNested

static castType(ReflectionType $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionType $c
array $a
Stub $stub
$isNested

static castReflectionGenerator(ReflectionGenerator $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionGenerator $c
array $a
Stub $stub
$isNested

static castClass(ReflectionClass $c, array $a, Stub $stub, $isNested, $filter = 0)

Parameters

ReflectionClass $c
array $a
Stub $stub
$isNested
$filter

static castFunctionAbstract(ReflectionFunctionAbstract $c, array $a, Stub $stub, $isNested, $filter = 0)

Parameters

ReflectionFunctionAbstract $c
array $a
Stub $stub
$isNested
$filter

static castMethod(ReflectionMethod $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionMethod $c
array $a
Stub $stub
$isNested

static castParameter(ReflectionParameter $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionParameter $c
array $a
Stub $stub
$isNested

static castProperty(ReflectionProperty $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionProperty $c
array $a
Stub $stub
$isNested

static castExtension(ReflectionExtension $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionExtension $c
array $a
Stub $stub
$isNested

static castZendExtension(ReflectionZendExtension $c, array $a, Stub $stub, $isNested)

Parameters

ReflectionZendExtension $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/ReflectionCaster.html