1 | <?php |
||
11 | class ValidationException extends \Exception implements Exception |
||
12 | { |
||
13 | /** |
||
14 | * @var ConstraintViolationListInterface |
||
15 | */ |
||
16 | private $violations; |
||
17 | |||
18 | /** |
||
19 | * @var integer |
||
20 | */ |
||
21 | private $lineNumber; |
||
22 | |||
23 | /** |
||
24 | * @param ConstraintViolationListInterface $list |
||
25 | * @param integer $line |
||
26 | */ |
||
27 | 1 | public function __construct(ConstraintViolationListInterface $list, $line) |
|
32 | |||
33 | /** |
||
34 | * @return ConstraintViolationListInterface |
||
35 | */ |
||
36 | public function getViolations() |
||
40 | |||
41 | /** |
||
42 | * @return integer |
||
43 | */ |
||
44 | public function getLineNumber() |
||
48 | } |
||
49 |