Documentation

ReflectionMapper
in package

Table of Contents

fromReturnType()  : Type
hasReturnType()  : bool
returnType()  : ReflectionType|null

Methods

fromReturnType()

public fromReturnType(ReflectionFunctionAbstract $functionOrMethod) : Type
Parameters
$functionOrMethod : ReflectionFunctionAbstract
Return values
Type

hasReturnType()

private hasReturnType(ReflectionFunctionAbstract $functionOrMethod) : bool
Parameters
$functionOrMethod : ReflectionFunctionAbstract
Return values
bool

returnType()

private returnType(ReflectionFunctionAbstract $functionOrMethod) : ReflectionType|null
Parameters
$functionOrMethod : ReflectionFunctionAbstract
Return values
ReflectionType|null

Search results