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)
Dispatch an intercepted method through its aspect pipeline.
at line 46
static array
resolveArguments(int $count, array $fixed, array $variadic = [])
Reconstruct the arguments visible to the intercepted method.
at line 59
static mixed
resolveArgument(int $count, array $fixed, array $variadic, int $position)
Resolve one argument visible to the intercepted method.
at line 78
static array
captureVariadicArguments(array $arguments, int $limit, bool $byReference)
Capture the positional variadic arguments visible to the original call.