| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class DotPathException extends \Exception |
||
| 11 | { |
||
| 12 | public const DOT_PATH_ERROR = 'Path "%s" is not valid : segment "%s" does not exists.'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Class constructor |
||
| 16 | * |
||
| 17 | * @param string $path |
||
| 18 | * @param string $segment |
||
| 19 | * @param integer $code |
||
| 20 | * @param Throwable|null $previous |
||
| 21 | * |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | 3 | public function __construct(string $path, string $segment, $code = 0, ?Throwable $previous = null) |
|
| 29 |