| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | public function __construct( |
||
| 25 | Throwable $exception, |
||
| 26 | string $exceptionId = '', |
||
| 27 | OpenContext|null $openContext = null, |
||
| 28 | ) { |
||
| 29 | $this->exceptionAsString = (string) $exception; |
||
|
|
|||
| 30 | $this->exceptionId = $exceptionId !== '' ? $exceptionId : $this->createExceptionId(); |
||
| 31 | |||
| 32 | // OpenContext is intentionally unused in Compact profile (no profiling) |
||
| 33 | unset($openContext); |
||
| 34 | } |
||
| 52 |