| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class ExceptionAsString implements Stringable |
||
| 18 | { |
||
| 19 | private string $string; |
||
| 20 | |||
| 21 | public function __construct(Throwable $e, Request $request) |
||
| 34 | } |
||
| 35 | |||
| 36 | public function __toString(): string |
||
| 39 | } |
||
| 40 | |||
| 41 | /** @param array<string, mixed> $server */ |
||
| 42 | private function getPhpVariables(array $server): string |
||
| 47 |