| 1 | <?php |
||
| 7 | class MutationException extends \RuntimeException |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ConstraintViolationListInterface |
||
| 11 | */ |
||
| 12 | private $constraintViolations; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param ConstraintViolationListInterface $constraintViolations |
||
| 16 | * @param string $message |
||
| 17 | * @param int $code |
||
| 18 | * @param \Exception|null $previous |
||
| 19 | */ |
||
| 20 | public function __construct(ConstraintViolationListInterface $constraintViolations, $message = '', $code = 0, \Exception $previous = null) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return ConstraintViolationListInterface |
||
| 29 | */ |
||
| 30 | public function getConstraintViolations(): ConstraintViolationListInterface |
||
| 34 | } |
||
| 35 |