ProxyDispatcher
class ProxyDispatcher
Methods
static mixed
static array
resolveArguments(int $count, array $fixed, array $variadic = [])
Reconstruct the arguments visible to the intercepted method.
static mixed
resolveArgument(int $count, array $fixed, array $variadic, int $position)
Resolve one argument visible to the intercepted method.
static array
captureVariadicArguments(array $arguments, int $limit, bool $byReference)
Capture the positional variadic arguments visible to the original call.
Details
at line 17
static mixed
dispatch(string $className, string $methodName, array $arguments, Closure $originalMethod, object|null $instance)
Dispatch an intercepted method through its aspect chain.
at line 40
static array
resolveArguments(int $count, array $fixed, array $variadic = [])
Reconstruct the arguments visible to the intercepted method.
at line 53
static mixed
resolveArgument(int $count, array $fixed, array $variadic, int $position)
Resolve one argument visible to the intercepted method.
at line 72
static array
captureVariadicArguments(array $arguments, int $limit, bool $byReference)
Capture the positional variadic arguments visible to the original call.