Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class MaintenanceModeMiddleware implements MiddlewareInterface |
||
14 | { |
||
15 | private Renderer $renderer; |
||
16 | |||
17 | private ResponseInterface $response; |
||
18 | |||
19 | public function __construct(Renderer $renderer, ResponseInterface $response) |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritDoc} |
||
27 | */ |
||
28 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
40 |