1 | <?php |
||
7 | class ValidationException extends \Exception |
||
8 | { |
||
9 | /** |
||
10 | * @var ConstraintViolationListInterface |
||
11 | */ |
||
12 | protected $violations; |
||
13 | |||
14 | /** |
||
15 | * @param ConstraintViolationListInterface $violations |
||
16 | */ |
||
17 | 2 | public function setViolations(ConstraintViolationListInterface $violations) |
|
21 | |||
22 | /** |
||
23 | * @return ConstraintViolationListInterface |
||
24 | */ |
||
25 | public function getViolations() |
||
29 | |||
30 | /** |
||
31 | * @param ConstraintViolationListInterface $violations |
||
32 | * |
||
33 | * @return ValidationException |
||
34 | */ |
||
35 | 2 | public static function create(ConstraintViolationListInterface $violations) |
|
42 | } |
||
43 |