final class Factory

Creates a representation based on reflection.

Methods

fromClassReflection(ReflectionClass $from, bool $withBodies = false)

No description

fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)

No description

fromCallable(callable $from)

No description

fromConstantReflection(ReflectionClassConstant $from)

No description

Details

at line 25
ClassType fromClassReflection(ReflectionClass $from, bool $withBodies = false)

No description

Parameters

ReflectionClass $from
bool $withBodies

Return Value

ClassType

at line 86
Method fromMethodReflection(ReflectionMethod $from)

No description

Parameters

ReflectionMethod $from

Return Value

Method

at line 115
GlobalFunction|Closure fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)

No description

Parameters

ReflectionFunction $from
bool $withBody

Return Value

GlobalFunction|Closure

at line 137
Method|GlobalFunction|Closure fromCallable(callable $from)

No description

Parameters

callable $from

Return Value

Method|GlobalFunction|Closure

at line 146
Parameter fromParameterReflection(ReflectionParameter $from)

No description

Parameters

ReflectionParameter $from

Return Value

Parameter

at line 169
Constant fromConstantReflection(ReflectionClassConstant $from)

No description

Parameters

ReflectionClassConstant $from

Return Value

Constant

at line 184
Property fromPropertyReflection(ReflectionProperty $from)

No description

Parameters

ReflectionProperty $from

Return Value

Property

Traits

Strict class for better experience.