| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class InvalidEntityException extends \LogicException |
||
| 14 | { |
||
| 15 | /** @var EntityViolation[] */ |
||
| 16 | private array $errors; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return EntityViolation[] |
||
| 20 | */ |
||
| 21 | public function getErrors(): array |
||
| 24 | } |
||
| 25 | |||
| 26 | 1 | public static function fromViolations(EntityViolation ...$violations): self |
|
| 41 |