Factory
final class Factory
Creates a representation based on reflection.
Methods
fromClassReflection(ReflectionClass $from, bool $withBodies = false, bool $materializeTraits = true)
No description
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 = true)
No description
at line 143
Method
fromMethodReflection(ReflectionMethod $from)
No description
at line 172
GlobalFunction|Closure
fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)
No description
at line 206
Method|GlobalFunction|Closure
fromCallable(callable $from)
No description
at line 215
Parameter
fromParameterReflection(ReflectionParameter $from)
No description
at line 253
Constant
fromConstantReflection(ReflectionClassConstant $from)
No description
at line 265
EnumCase
fromCaseReflection(ReflectionClassConstant $from)
No description
at line 275
Property
fromPropertyReflection(ReflectionProperty $from)
No description
at line 305
Literal
fromObject(object $obj)
No description
at line 311
ClassType
fromClassCode(string $code)
No description
at line 322
PhpFile
fromCode(string $code)
No description
Traits
SmartObject