PHP Class BetterReflection\TypesFinder\FindReturnType

Afficher le fichier Open project: roave/better-reflection

Méthodes publiques

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

Private Methods

Méthode Description
createContextForFunction ( ReflectionFunctionAbstract $function ) : phpDocumentor\Reflection\Types\Context

Method Details

__invoke() public méthode

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