RequestProcessingHandler
in package
implements
RequestHandlerInterface
FinalYes
Handles request routing for the application.
Table of Contents
Interfaces
- RequestHandlerInterface
Methods
- __construct() : mixed
- handle() : ResponseInterface
- Attempts to locate and execute the target request processor.
Methods
__construct()
public
__construct(ServerInterface $server, RequestProcessorExecutorInterface $processorExecutor, ResponseBuilderInterface $responseBuilder, AuthorizationCheckerInterface $authChecker, PropertyInjectorInterface $propertyInjector, ModelResolverInterface $modelResolver) : mixed
Parameters
- $server : ServerInterface
- $processorExecutor : RequestProcessorExecutorInterface
- $responseBuilder : ResponseBuilderInterface
- $authChecker : AuthorizationCheckerInterface
- $propertyInjector : PropertyInjectorInterface
- $modelResolver : ModelResolverInterface
handle()
Attempts to locate and execute the target request processor.
public
handle(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface