PHP Class BetterReflection\TypesFinder\FindReturnType

Show file Open project: roave/better-reflection

Public Methods

Method Description
__invoke ( ReflectionFunctionAbstract $function ) : phpDocumentor\Reflection\Type[] Given a function, attempt to find the return type.

Private Methods

Method Description
createContextForFunction ( ReflectionFunctionAbstract $function ) : phpDocumentor\Reflection\Types\Context

Method Details

__invoke() public method

Given a function, attempt to find the return type.
public __invoke ( ReflectionFunctionAbstract $function ) : phpDocumentor\Reflection\Type[]
$function BetterReflection\Reflection\ReflectionFunctionAbstract
return phpDocumentor\Reflection\Type[]