| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class AfterRequest |
||
| 10 | { |
||
| 11 | private ?ResponseInterface $response; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param ResponseInterface|null $response Response instance or null if response generation failed due to an error. |
||
| 15 | */ |
||
| 16 | 5 | public function __construct(?ResponseInterface $response) |
|
| 17 | { |
||
| 18 | 5 | $this->response = $response; |
|
| 19 | 5 | } |
|
| 20 | |||
| 21 | 3 | public function getResponse(): ?ResponseInterface |
|
| 24 | } |
||
| 25 | } |
||
| 26 |