| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class NotFoundException extends Exception implements NotFoundExceptionInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $id ID of the definition or name of the class that was not found. |
||
| 17 | */ |
||
| 18 | 5 | public function __construct( |
|
| 19 | private string $id |
||
| 20 | ) { |
||
| 21 | 5 | parent::__construct(sprintf('No definition or class found or resolvable for %s.', $id)); |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function getId(): string |
|
| 27 | } |
||
| 28 | } |
||
| 29 |