final class ErrorHandlingMiddleware implements MiddlewareInterface (View source)

Methods

__construct(LoggingConfig $config, Psr17Factory $responseFactory, LogManager $logs, HttpLogContext $httpLogContext, ErrorPageRenderer $errorPageRenderer)
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
ResponseInterface

Details

__construct

__construct(LoggingConfig $config, Psr17Factory $responseFactory, LogManager $logs, HttpLogContext $httpLogContext, ErrorPageRenderer $errorPageRenderer)

No description

Parameters

LoggingConfig $config
Psr17Factory $responseFactory
LogManager $logs
HttpLogContext $httpLogContext
ErrorPageRenderer $errorPageRenderer

process

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface