메소드 | 설명 | |
---|---|---|
__construct ( ) | Construct a new invocable inspector. | |
callbackReflector ( callable $callback ) : ReflectionFunctionAbstract | Get the appropriate reflector for the supplied callback. | |
callbackReturnType ( callable $callback ) : ReflectionTyp\ReflectionType | null | Get the return type for the supplied callback. | |
instance ( ) : |
Get the static instance of this inspector. | |
isBoundClosureSupported ( ) : boolean | Returns true if bound closures are supported. |
public callbackReflector ( callable $callback ) : ReflectionFunctionAbstract | ||
$callback | callable | The callback. |
리턴 | ReflectionFunctionAbstract | The reflector. |
public callbackReturnType ( callable $callback ) : ReflectionTyp\ReflectionType | null | ||
$callback | callable | The callback. |
리턴 | ReflectionTyp\ReflectionType | null | The return type, or null if no return type is defined. |
public static instance ( ) : |
||
리턴 | The static inspector. |
public isBoundClosureSupported ( ) : boolean | ||
리턴 | boolean | True if bound closures are supported. |