| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| 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 | public function __construct(int $index, string $property, Throwable $previous = null) |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getIndex(): int |
||
| 28 | { |
||
| 29 | return $this->index; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getProperty(): string |
||
| 35 | } |
||
| 36 | } |
||
| 37 |