| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class RenderException extends ViewException |
||
| 8 | { |
||
| 9 | private array $userTrace = []; |
||
| 10 | |||
| 11 | 5 | public function __construct(\Throwable $previous = null) |
|
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Set user trace pointing to the location of error in view templates. |
||
| 20 | */ |
||
| 21 | 3 | public function setUserTrace(array $trace): void |
|
| 24 | } |
||
| 25 | |||
| 26 | 2 | public function getUserTrace(): array |
|
| 31 |