Méthode | Description | |
---|---|---|
__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. |
Résultat | ReflectionFunctionAbstract | The reflector. |
public callbackReturnType ( callable $callback ) : ReflectionTyp\ReflectionType | null | ||
$callback | callable | The callback. |
Résultat | ReflectionTyp\ReflectionType | null | The return type, or null if no return type is defined. |
public static instance ( ) : |
||
Résultat | The static inspector. |
public isBoundClosureSupported ( ) : boolean | ||
Résultat | boolean | True if bound closures are supported. |