1 | <?php |
||
15 | class RpcEvent extends Event |
||
16 | { |
||
17 | /** @var HttpKernelInterface */ |
||
18 | private $kernel; |
||
19 | /** @var RequestInterface */ |
||
20 | private $request; |
||
21 | |||
22 | /** |
||
23 | * RpcEvent constructor. |
||
24 | * |
||
25 | * @param HttpKernelInterface $kernel |
||
26 | * @param RequestInterface $request |
||
27 | */ |
||
28 | 7 | public function __construct(HttpKernelInterface $kernel, RequestInterface $request) |
|
33 | |||
34 | /** |
||
35 | * @return HttpKernelInterface |
||
36 | */ |
||
37 | public function getKernel() |
||
41 | |||
42 | /** |
||
43 | * @return RequestInterface |
||
44 | */ |
||
45 | 7 | public function getRequest() |
|
49 | } |
||
50 |