| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class NameNotFoundException extends ApieException implements LocalizationableException |
||
| 8 | { |
||
| 9 | private $name; |
||
| 10 | |||
| 11 | public function __construct(string $name) |
||
| 12 | { |
||
| 13 | $this->name = $name; |
||
| 14 | parent::__construct(500, 'Name "' . $name . '" not found!"'); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getI18n(): LocalizationInfo |
||
| 22 | ); |
||
| 23 | } |
||
| 25 |