PHP 클래스 Eloquent\Phony\Reflection\FunctionSignatureInspector

파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

메소드 설명
__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