Property | Type | Description | |
---|---|---|---|
$className | string | Name of the invocation class | |
$instance | object | string | Instance of object for invoking or class name for static call | |
$reflectionMethod | ReflectionMethod | Instance of reflection method for class |
Method | Description | |
---|---|---|
__construct ( string $className, string $methodName, array $advices ) | Constructor for method invocation | |
__invoke ( null | object | string $instance = null, array $arguments = [], array $variadicArguments = [] ) : mixed | Invokes current method invocation with all interceptors | |
__toString ( ) : string | Returns friendly description of this joinpoint | |
getMethod ( ) : |
Gets the method being called. | |
getStaticPart ( ) : object | Returns the static part of this joinpoint. | |
getThis ( ) : object | string | Returns the object that holds the current joinpoint's static part. |
final public __invoke ( null | object | string $instance = null, array $arguments = [], array $variadicArguments = [] ) : mixed | ||
$instance | null | object | string | Invocation instance (class name for static methods) |
$arguments | array | List of arguments for method invocation |
$variadicArguments | array | Additional list of variadic arguments |
return | mixed | Result of invocation |
final public __toString ( ) : string | ||
return | string |
public getMethod ( ) : |
||
return | the method being called. |
public getStaticPart ( ) : object | ||
return | object |
protected string $className | ||
return | string |