Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
42 | public function __construct(object $invalidEntity, ConstraintViolationListInterface $entityViolations) |
||
43 | { |
||
44 | $this->invalidEntity = $invalidEntity; |
||
45 | $this->entityViolations = $entityViolations; |
||
46 | |||
47 | parent::__construct(sprintf('Invalid the entity "%s"', get_class($invalidEntity))); |
||
48 | } |
||
66 |