Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
31 | { |
||
32 | $client = new Client(function (ServerRequestInterface $request): ResponseInterface { |
||
33 | return $this->handler->handle($request); |
||
34 | }); |
||
35 | $proxy = new Proxy($client, $this->cache, new StreamFactory()); |
||
36 | return $proxy->handle($request); |
||
37 | } |
||
39 |