src/Controller/RpcController.php
public function handlerAction(Request $request, $version = 'default')
    {
        return $this
            ->handlerRegistry
            ->get($version)
            ->handleHttpRequest($request);
    }
public function handlerAction(Request $request, $version = 'default')
    {
        return $this
            ->handlerRegistry
            ->get($version)
            ->handleHttpRequest($request);
    }
@param Request $request
@param string  $version

@throws \Exception

@return \Symfony\Component\HttpFoundation\Response