ReflectionMapper
in package
FinalYes
Table of Contents
Methods
- fromParameterTypes() : array<string|int, mixed>
- fromReturnType() : Type
- hasReturnType() : bool
- mapIntersectionType() : Type
- mapNamedType() : Type
- mapUnionType() : Type
- returnType() : ReflectionType|null
Methods
fromParameterTypes()
public
fromParameterTypes(ReflectionFunctionAbstract $functionOrMethod) : array<string|int, mixed>
Parameters
- $functionOrMethod : ReflectionFunctionAbstract
Tags
Return values
array<string|int, mixed>fromReturnType()
public
fromReturnType(ReflectionFunctionAbstract $functionOrMethod) : Type
Parameters
- $functionOrMethod : ReflectionFunctionAbstract
Return values
TypehasReturnType()
private
hasReturnType(ReflectionFunctionAbstract $functionOrMethod) : bool
Parameters
- $functionOrMethod : ReflectionFunctionAbstract
Return values
boolmapIntersectionType()
private
mapIntersectionType(ReflectionIntersectionType $type, ReflectionFunctionAbstract $functionOrMethod) : Type
Parameters
- $type : ReflectionIntersectionType
- $functionOrMethod : ReflectionFunctionAbstract
Return values
TypemapNamedType()
private
mapNamedType(ReflectionNamedType $type, ReflectionFunctionAbstract $functionOrMethod) : Type
Parameters
- $type : ReflectionNamedType
- $functionOrMethod : ReflectionFunctionAbstract
Return values
TypemapUnionType()
private
mapUnionType(ReflectionUnionType $type, ReflectionFunctionAbstract $functionOrMethod) : Type
Parameters
- $type : ReflectionUnionType
- $functionOrMethod : ReflectionFunctionAbstract
Return values
TypereturnType()
private
returnType(ReflectionFunctionAbstract $functionOrMethod) : ReflectionType|null
Parameters
- $functionOrMethod : ReflectionFunctionAbstract