Factory
final class Factory
Creates a representations based on reflection or source code.
Methods
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 29
ClassLike
fromClassReflection(ReflectionClass $from, bool $withBodies = false)
No description
at line 147
Method
fromMethodReflection(ReflectionMethod $from)
No description
at line 166
Closure
fromFunctionReflection(ReflectionFunction $from, bool $withBody = false)
No description
at line 191
Closure
fromCallable(callable $from)
No description
at line 200
Parameter
fromParameterReflection(ReflectionParameter $from)
No description
at line 228
Constant
fromConstantReflection(ReflectionClassConstant $from)
No description
at line 240
EnumCase
fromCaseReflection(ReflectionClassConstant $from)
No description
at line 250
Property
fromPropertyReflection(ReflectionProperty $from)
No description
at line 267
Literal
fromObject(object $obj)
No description
at line 273
ClassLike
fromClassCode(string $code)
No description
at line 280
PhpFile
fromCode(string $code)
No description