| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class TableNameNotFound extends Exception |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var null|string |
||
| 13 | */ |
||
| 14 | private $key; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $key |
||
| 18 | * |
||
| 19 | * @return self |
||
| 20 | */ |
||
| 21 | public static function forKey(string $key): self |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return null|string |
||
| 33 | */ |
||
| 34 | public function getKey(): ?string |
||
| 39 |