PHP Класс Eloquent\Phony\Reflection\FunctionSignatureInspector

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( InvocableInspector $invocableInspector ) Construct a new function signature inspector.
callbackSignature ( callable $callback ) : array>\array Get the function signature of the supplied callback.
instance ( ) : FunctionSignatureInspector Get the static instance of this inspector.
signature ( ReflectionFunctionAbstract $function ) : array>\array Get the function signature of the supplied function.

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

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

Construct a new function signature inspector.
public __construct ( InvocableInspector $invocableInspector )
$invocableInspector Eloquent\Phony\Invocation\InvocableInspector The invocable inspector to use.

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

Get the function signature of the supplied callback.
public callbackSignature ( callable $callback ) : array>\array
$callback callable The callback.
Результат array>\array

instance() публичный статический Метод

Get the static instance of this inspector.
public static instance ( ) : FunctionSignatureInspector
Результат FunctionSignatureInspector The static inspector.

signature() абстрактный публичный Метод

Get the function signature of the supplied function.
abstract public signature ( ReflectionFunctionAbstract $function ) : array>\array
$function ReflectionFunctionAbstract The function.
Результат array>\array