Factory
final class Factory
Creates a representation based on reflection.
Methods
fromClassReflection(ReflectionClass $from, bool $withBodies = false, bool|null $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 31
ClassLike
fromClassReflection(ReflectionClass $from, bool $withBodies = false, bool|null $materializeTraits = null)
No description
at line 151
Method
fromMethodReflection(ReflectionMethod $from)
No description
at line 170
Closure
fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)
No description
at line 195
Closure
fromCallable(callable $from)
No description
at line 204
Parameter
fromParameterReflection(ReflectionParameter $from)
No description
at line 234
Constant
fromConstantReflection(ReflectionClassConstant $from)
No description
at line 246
EnumCase
fromCaseReflection(ReflectionClassConstant $from)
No description
at line 256
Property
fromPropertyReflection(ReflectionProperty $from)
No description
at line 273
Literal
fromObject(object $obj)
No description
at line 279
ClassLike
fromClassCode(string $code)
No description
at line 286
PhpFile
fromCode(string $code)
No description
Traits
SmartObject