| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class Response implements TransportResponseInterface |
||
| 10 | { |
||
| 11 | private string $response; |
||
| 12 | private int $statusCode; |
||
| 13 | |||
| 14 | public function __construct(int $statusCode, string $response) |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getBody(): string |
||
| 21 | { |
||
| 22 | return $this->response; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getStatusCode(): int |
||
| 28 | } |
||
| 29 | } |
||
| 30 |