RequestProcessorExecutor
in package
implements
RequestProcessorExecutorInterface
FinalYes
Handles execution of a request processor.
This implementation uses reflection so that
arguments to the process
method that are
decorated with attributes can be passed in
after the attributes are invoked.
Table of Contents
Interfaces
- RequestProcessorExecutorInterface
Methods
- execute() : mixed
- Execute the request processor.
Methods
execute()
Execute the request processor.
public
execute(RequestProcessorInterface $requestProcessor, array<string|int, mixed> $args) : mixed
Invokes the process
method with the given arguments.
Parameters
- $requestProcessor : RequestProcessorInterface
- $args : array<string|int, mixed>