public function toCmsRequest(Request $request)
    {

        $cmsRequest = (new CmsRequest)->duplicate(

            $request->query->all(), $request->request->all(), $request->attributes->all(),

            $request->cookies->all(), $request->files->all(), $request->server->all()
        );

        $cmsRequest->headers = clone $request->headers;

        return $cmsRequest;

    }