| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class WrongParentKeyColumnException extends TableInheritanceException implements FriendlyExceptionInterface |
||
| 12 | { |
||
| 13 | 4 | public function __construct(private Entity $entity, string $outerKey) |
|
| 19 | )); |
||
| 20 | 4 | } |
|
| 21 | |||
| 22 | 2 | public function getName(): string |
|
| 23 | { |
||
| 24 | 2 | return 'Outer key column is not found among parent entity fields.'; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function getSolution(): ?string |
|
| 35 | ); |
||
| 36 | } |
||
| 38 |