Factory
final class Factory
Creates a representation based on reflection.
Methods
fromClassReflection(ReflectionClass $from, bool $withBodies = false, bool $materializeTraits = null)
No description
Closure
Closure
fromCallable(callable $from)
No description
fromConstantReflection(ReflectionClassConstant $from)
No description
fromCaseReflection(ReflectionClassConstant $from)
No description
fromObject(object $obj)
No description
fromClassCode(string $code)
No description
Details
at line 27
ClassType
fromClassReflection(ReflectionClass $from, bool $withBodies = false, bool $materializeTraits = null)
No description
at line 139
Method
fromMethodReflection(ReflectionMethod $from)
No description
at line 158
Closure
fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)
No description
at line 183
Closure
fromCallable(callable $from)
No description
at line 192
Parameter
fromParameterReflection(ReflectionParameter $from)
No description
at line 222
Constant
fromConstantReflection(ReflectionClassConstant $from)
No description
at line 234
EnumCase
fromCaseReflection(ReflectionClassConstant $from)
No description
at line 244
Property
fromPropertyReflection(ReflectionProperty $from)
No description
at line 261
Literal
fromObject(object $obj)
No description
at line 267
ClassType
fromClassCode(string $code)
No description
at line 274
PhpFile
fromCode(string $code)
No description
Traits
Strict class for better experience.