Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
57 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
58 | { |
||
59 | static::$output[] = $this->content; |
||
60 | |||
61 | $this->response->getBody()->write('Stopped in middleware.'); |
||
62 | $response = $this->response->withHeader('Content-Type', 'text/plain; charset=utf-8'); |
||
63 | |||
64 | return $response; |
||
65 | } |
||
67 |