| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class EasycreditToHttpResponseAdapter implements EasycreditToHttpResponseInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \Psr\Http\Message\ResponseInterface |
||
| 17 | */ |
||
| 18 | protected $response; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Psr\Http\Message\ResponseInterface $response |
||
| 22 | */ |
||
| 23 | public function __construct(ResponseInterface $response) |
||
| 24 | { |
||
| 25 | $this->response = $response; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return \Psr\Http\Message\StreamInterface |
||
| 30 | */ |
||
| 31 | public function getBody(): StreamInterface |
||
| 34 | } |
||
| 35 | } |
||
| 36 |