Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class Proxy |
||
16 | { |
||
17 | /** |
||
18 | * @var HttpClient |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | /** |
||
23 | * @var CacheItemPoolInterface |
||
24 | */ |
||
25 | private $cache; |
||
26 | |||
27 | /** |
||
28 | * @var StreamFactory |
||
29 | */ |
||
30 | private $streamFactory; |
||
31 | |||
32 | 3 | public function __construct(HttpClient $client, CacheItemPoolInterface $cache, StreamFactory $streamFactory) |
|
37 | 3 | } |
|
38 | |||
39 | 3 | public function handle(RequestInterface $request): ResponseInterface |
|
50 |