PHP Класс BetterReflection\TypesFinder\FindParameterType

Показать файл Открыть проект

Открытые методы

Метод Описание
__invoke ( ReflectionFunctionAbstract $function, Param $node ) : phpDocumentor\Reflection\Type[] Given a function and parameter, attempt to find the type of the parameter.

Приватные методы

Метод Описание
createContextForFunction ( ReflectionFunctionAbstract $function ) : phpDocumentor\Reflection\Types\Context

Описание методов

__invoke() публичный Метод

Given a function and parameter, attempt to find the type of the parameter.
public __invoke ( ReflectionFunctionAbstract $function, Param $node ) : phpDocumentor\Reflection\Type[]
$function BetterReflection\Reflection\ReflectionFunctionAbstract
$node PhpParser\Node\Param
Результат phpDocumentor\Reflection\Type[]