1 | <?php |
||
9 | class Exception extends \Exception |
||
10 | { |
||
11 | /** |
||
12 | * @var Element |
||
13 | */ |
||
14 | private $element; |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | private $options; |
||
19 | /** |
||
20 | * @var mixed |
||
21 | */ |
||
22 | private $value; |
||
23 | |||
24 | 6 | public function __construct($message, Element $element, array $options, $value = null) |
|
33 | |||
34 | 1 | public function getOptions() : array |
|
38 | |||
39 | 2 | public function getElement() : Element |
|
43 | |||
44 | 1 | public function getValue() |
|
48 | } |
||
49 |