src/Util/RequestParser.php
public static function parseAndDuplicateRequest(Request $request): Request
    {
        $query = self::parseRequestParams(self::getQueryString($request) ?? '');
        $body = self::parseRequestParams($request->getContent());

        return $request->duplicate($query, $body);
    }
public static function parseAndDuplicateRequest(Request $request): Request
    {
        $query = self::parseRequestParams(self::getQueryString($request) ?? '');
        $body = self::parseRequestParams($request->getContent());

        return $request->duplicate($query, $body);
    }
public static function parseAndDuplicateRequest ( Request $ request ) : Request { $ query = self :: parseRequestParams ( self :: getQueryString ( $ request ) ?? '' ) ; $ body = self :: parseRequestParams ( $ request -> getContent ( ) ) ; return $ request -> duplicate ( $ query , $ body ) ; }
Gets a fixed request.
Gets a fixed request .