| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 1 | final class ExceptionAsString implements Stringable |
|
| 19 | 1 | { |
|
| 20 | 1 | private string $string; |
|
| 21 | 1 | ||
| 22 | 1 | public function __construct(Throwable $e, Request $request) |
|
| 35 | } |
||
| 36 | |||
| 37 | #[Override] |
||
| 38 | public function __toString(): string |
||
| 39 | { |
||
| 40 | return $this->string; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** @param array<string, mixed> $server */ |
||
| 44 | private function getPhpVariables(array $server): string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |