Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ServerExceptionEvent extends Event |
||
16 | { |
||
17 | /** |
||
18 | * @var \Exception |
||
19 | */ |
||
20 | private $exception; |
||
21 | |||
22 | /** |
||
23 | * ExceptionEvent constructor. |
||
24 | * |
||
25 | * @param \Exception $exception |
||
26 | */ |
||
27 | public function __construct(\Exception $exception) |
||
28 | { |
||
29 | $this->exception = $exception; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return \Exception |
||
34 | */ |
||
35 | public function getException(): \Exception |
||
38 | } |
||
39 | } |
||
40 |