| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 24 | class KernelEvent extends Event |
||
| 25 | { |
||
| 26 | public function __construct(private Application $kernel, private Request $request) |
||
| 27 | { |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns the kernel in which this event was thrown. |
||
| 32 | */ |
||
| 33 | public function getApplication(): Application |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns the request the kernel is currently processing. |
||
| 40 | */ |
||
| 41 | public function getRequest(): Request |
||
| 46 |