RequestProcessingHandler
in package
implements RequestHandlerInterface

Read onlyYes
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, StreamFactoryInterface $streamFactory, ResponseFactoryInterface $responseFactory, RequestAuthorizerInterface $requestAuthorizer, PropertyInjectorInterface $propertyInjector, ModelResolverInterface $modelResolver, ResponseCodeResolver $responseCodeResolver) : mixed
Parameters
$server : ServerInterface
$processorExecutor : RequestProcessorExecutorInterface
$streamFactory : StreamFactoryInterface
$responseFactory : ResponseFactoryInterface
$requestAuthorizer : RequestAuthorizerInterface
$propertyInjector : PropertyInjectorInterface
$modelResolver : ModelResolverInterface
$responseCodeResolver : ResponseCodeResolver

handle()

Attempts to locate and execute the target request processor.

public handle(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

        
On this page

Search results