Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Validation extends \RuntimeException implements Exception |
||
12 | { |
||
13 | protected $var; |
||
14 | |||
15 | public function __construct( |
||
16 | $var = null, |
||
17 | string $message = "", |
||
18 | int $code = 0, |
||
19 | \Throwable $previous = null |
||
20 | ) { |
||
21 | $this->var = $var; |
||
22 | |||
23 | parent::__construct($message, $code, $previous); |
||
24 | } |
||
25 | |||
26 | public function getVar() |
||
29 | } |
||
30 | } |
||
31 |