Метод | Описание | |
---|---|---|
__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. |