Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class PathNotFoundException extends RuntimeException implements ExceptionInterface |
||
10 | { |
||
11 | |||
12 | private $index; |
||
13 | |||
14 | private $property; |
||
15 | |||
16 | 6 | public function __construct(int $index, string $property, Throwable $previous = null) |
|
24 | ); |
||
25 | 6 | } |
|
26 | |||
27 | 1 | public function getIndex(): int |
|
28 | { |
||
29 | 1 | return $this->index; |
|
30 | } |
||
31 | |||
32 | 1 | public function getProperty(): string |
|
35 | } |
||
36 | } |
||
37 |