Executable
- Full name:
\Qubus\Injector\Executable
Properties
callableReflection
private \ReflectionFunctionAbstract $callableReflection
invocationObject
private mixed $invocationObject
isInstanceMethod
private bool $isInstanceMethod
Methods
__construct
public __construct(\ReflectionFunctionAbstract $reflFunc, ?object $invocationObject = null): mixed
Parameters:
| Parameter | Type | Description |
$reflFunc | \ReflectionFunctionAbstract | |
$invocationObject | ?object | |
Throws:
setMethodCallable
private setMethodCallable(\ReflectionMethod $reflection, ?object $invocationObject): void
Parameters:
| Parameter | Type | Description |
$reflection | \ReflectionMethod | |
$invocationObject | ?object | |
Throws:
__invoke
invokeClosureCompat
private invokeClosureCompat(mixed $reflection, mixed $args): mixed
Parameters:
| Parameter | Type | Description |
$reflection | mixed | |
$args | mixed | |
getCallableReflection
public getCallableReflection(): \ReflectionFunctionAbstract
getInvocationObject
public getInvocationObject(): mixed
isInstanceMethod
public isInstanceMethod(): bool