Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class InvalidIdException extends ApieException implements LocalizationableException |
||
|
|||
8 | { |
||
9 | private $id; |
||
10 | |||
11 | public function __construct(string $id) |
||
12 | { |
||
13 | $this->id = $id; |
||
14 | parent::__construct(500, 'Id "' . $id . '" is not valid as identifier'); |
||
15 | } |
||
16 | |||
17 | public function getI18n(): LocalizationInfo |
||
23 | ] |
||
24 | ); |
||
27 |