Lines
0.00%
0 / 2
Methods
0.00%
0 / 2
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| getFilePath | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| 9 | class FileNotFound extends RuntimeException | |
| 10 | { | |
| 11 | public function __construct( | |
| 12 | private readonly string $filePath, | |
| 13 | ?\Throwable $previous = null | |
| 14 | ) { | |
| 15 | parent::__construct("File not found: {$filePath}", 0, $previous); | |
| 16 | } | |
| 17 | ||
| 18 | public function getFilePath(): string | |
| 19 | { | |
| 20 | return $this->filePath; | |
| 21 | } | |
| 22 | } |