| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class RequestHandler |
||
| 13 | { |
||
| 14 | /** @var MethodManager */ |
||
| 15 | private $methodManager; |
||
| 16 | /** @var ResponseCreator */ |
||
| 17 | private $responseCreator; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param MethodManager $methodManager |
||
| 21 | * @param ResponseCreator $responseCreator |
||
| 22 | */ |
||
| 23 | 2 | public function __construct(MethodManager $methodManager, ResponseCreator $responseCreator) |
|
| 27 | 2 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param JsonRpcRequest $jsonRpcRequest |
||
| 31 | * |
||
| 32 | * @return JsonRpcResponse |
||
| 33 | */ |
||
| 34 | 2 | public function handle(JsonRpcRequest $jsonRpcRequest) : JsonRpcResponse |
|
| 49 |