Total Complexity | 4 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | final class FormModelNotSetException extends InvalidArgumentException implements FriendlyExceptionInterface |
||
12 | { |
||
13 | 4 | public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null) |
|
14 | { |
||
15 | 4 | $message = $message === '' ? $this->getName() : $message; |
|
16 | 4 | parent::__construct($message, $code, $previous); |
|
17 | } |
||
18 | |||
19 | 4 | public function getName(): string |
|
22 | } |
||
23 | |||
24 | public function getSolution(): ?string |
||
34 |