private function decorateRequest(Request $request)
    {
        if ($request instanceof Http\Request) {
            return $request;
        }

        return new Http\Request($request);
    }
private function decorateRequest(Request $request)
    {
        if ($request instanceof Http\Request) {
            return $request;
        }

        return new Http\Request($request);
    }
private function decorateRequest ( Request $ request ) { if ( $ request instanceof Http \ Request ) { return $ request ; } return new Http \ Request ( $ request ) ; }
Decorate the Request instance

@param Request $request
@return Http\Request
Decorate the Request instance