Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class NotFoundException extends Exception implements NotFoundExceptionInterface |
||
12 | { |
||
13 | private string $id; |
||
14 | |||
15 | 2 | public function __construct(string $id, $message = "", $code = 0, Throwable $previous = null) |
|
16 | { |
||
17 | 2 | $this->id = $id; |
|
18 | 2 | parent::__construct($message, $code, $previous); |
|
19 | 2 | } |
|
20 | |||
21 | 1 | public function getId(): string |
|
24 | } |
||
25 | } |
||
26 |