src/RequestConvertor.php
protected function buildFullUri(BrowserKitRequest $request)
    {
        $uri = new Uri($request->getUri());
        
        $queryParams = [];
        parse_str($uri->getQuery(), $queryParams);
        
        if ($request->getMethod() === 'GET') {
            $queryParams = array_merge($queryParams, $request->getParameters());
            $uri = $uri->withQuery(http_build_query($queryParams));
        }
        
        return [$uri, $queryParams];
    }
protected function buildFullUri(BrowserKitRequest $request)
    {
        $uri = new Uri($request->getUri());
        
        $queryParams = [];
        parse_str($uri->getQuery(), $queryParams);
        
        if ($request->getMethod() === 'GET') {
            $queryParams = array_merge($queryParams, $request->getParameters());
            $uri = $uri->withQuery(http_build_query($queryParams));
        }
        
        return [$uri, $queryParams];
    }
protected function buildFullUri ( BrowserKitRequest $ request ) { $ uri = new Uri ( $ request -> getUri ( ) ) ; $ queryParams = [ ] ; parse_str ( $ uri -> getQuery ( ) , $ queryParams ) ; if ( $ request -> getMethod ( ) === 'GET' ) { $ queryParams = array_merge ( $ queryParams , $ request -> getParameters ( ) ) ; $ uri = $ uri -> withQuery ( http_build_query ( $ queryParams ) ) ; } return [ $ uri , $ queryParams ] ; }
Build a full URI from a request

@param BrowserKitRequest $request
@return array [Uri, queryParams]
Build a full URI from a request