| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 84.62% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class HttpFoundationResponder |
||
| 10 | { |
||
| 11 | /** @var PsrResponder */ |
||
| 12 | private $psrResponder; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * ResponderController constructor. |
||
| 16 | * |
||
| 17 | * @param PsrResponder $psrResponder |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(PsrResponder $psrResponder) |
|
| 20 | { |
||
| 21 | 1 | $this->psrResponder = $psrResponder; |
|
| 22 | 1 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Create HTTP-Kernel response for collected |
||
| 26 | * |
||
| 27 | * @return Response |
||
| 28 | * |
||
| 29 | * @throws HttpException |
||
| 30 | */ |
||
| 31 | 1 | public function createResponse(): Response |
|
| 48 | } |
||
| 49 | } |
||
| 50 |