| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class ExceptionAsString implements Stringable |
||
| 19 | { |
||
| 20 | private string $string; |
||
| 21 | |||
| 22 | 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 |