1 | <?php |
||
17 | class InvalidMessageException extends ValidatorException |
||
18 | { |
||
19 | /** |
||
20 | * @var ConstraintViolationListInterface |
||
21 | */ |
||
22 | protected $violations; |
||
23 | |||
24 | /** |
||
25 | * @param ConstraintViolationListInterface $violations |
||
26 | * @param int $code |
||
27 | * @param \Exception|null $previous |
||
28 | */ |
||
29 | public function __construct(ConstraintViolationListInterface $violations, $code = 0, \Exception $previous = null) |
||
43 | |||
44 | /** |
||
45 | * @return ConstraintViolationListInterface |
||
46 | */ |
||
47 | public function getViolations() |
||
51 | |||
52 | /** |
||
53 | * @return string[] |
||
54 | */ |
||
55 | public function getMessages() |
||
66 | } |
||
67 |