| Total Complexity | 3 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 12 | class OnRequestReceivedEvent implements JsonRpcServerEvent  | 
            ||
| 13 | { | 
            ||
| 14 | const EVENT_NAME = 'json_rpc_server_skd.on_request_received';  | 
            ||
| 15 | |||
| 16 | /** @var string */  | 
            ||
| 17 | private $request;  | 
            ||
| 18 | /** @var JsonRpcCall */  | 
            ||
| 19 | private $jsonRpcCall;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @param string $request  | 
            ||
| 23 | * @param JsonRpcCall $jsonRpcCall  | 
            ||
| 24 | */  | 
            ||
| 25 | public function __construct(string $request, JsonRpcCall $jsonRpcCall)  | 
            ||
| 26 |     { | 
            ||
| 27 | $this->request = $request;  | 
            ||
| 28 | $this->jsonRpcCall = $jsonRpcCall;  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @return string  | 
            ||
| 33 | */  | 
            ||
| 34 | public function getRequest() : string  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return JsonRpcCall  | 
            ||
| 41 | */  | 
            ||
| 42 | public function getJsonRpcCall() : JsonRpcCall  | 
            ||
| 45 | }  | 
            ||
| 46 | }  | 
            ||
| 47 |