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