Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class CachedResponse |
||
13 | { |
||
14 | |||
15 | /** @var array */ |
||
16 | private $_headers; |
||
17 | /** @var string */ |
||
18 | private $_body; |
||
19 | /** @var string */ |
||
20 | private $_protocol; |
||
21 | /** @var int */ |
||
22 | private $_statusCode; |
||
23 | /** @var string */ |
||
24 | private $_reason; |
||
25 | |||
26 | |||
27 | /** |
||
28 | * CachedResponse constructor. |
||
29 | * @param ResponseInterface $response |
||
30 | */ |
||
31 | 14 | public function __construct(ResponseInterface $response) |
|
38 | 14 | } |
|
39 | |||
40 | /** |
||
41 | * @return Response |
||
42 | */ |
||
43 | 11 | public function getResponse() : Response |
|
54 |