Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | class KernelEvent extends Event |
||
30 | { |
||
31 | private Application $kernel; |
||
32 | private Request $request; |
||
33 | |||
34 | 4 | public function __construct(Application $app, Request $request) |
|
38 | } |
||
39 | |||
40 | /** |
||
41 | * Returns the kernel in which this event was thrown. |
||
42 | */ |
||
43 | public function getApplication(): Application |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Returns the request the kernel is currently processing. |
||
50 | */ |
||
51 | 4 | public function getRequest(): Request |
|
56 |