Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function handleRequest(RequestInterface $request) |
||
36 | { |
||
37 | $serverRequest = $request->getServerRequest(); |
||
38 | |||
39 | $headers = new Headers(['Content-Type' => 'text/html; charset=UTF-8']); |
||
40 | $response = new Response(200, $headers); |
||
41 | $response = $response->withProtocolVersion('1.1'); |
||
42 | |||
43 | return $this->app->process($serverRequest, $response); |
||
44 | } |
||
45 | } |
||
46 |