private function getTraceKey(Request $request): string
    {
        $path = $request->getPathInfo();
        if ($qs = $request->getQueryString()) {
            $path .= '?'.$qs;
        }

        return $request->getMethod().' '.$path;
    }
private function getTraceKey(Request $request): string
    {
        $path = $request->getPathInfo();
        if ($qs = $request->getQueryString()) {
            $path .= '?'.$qs;
        }

        return $request->getMethod().' '.$path;
    }
private function getTraceKey ( Request $ request ) : string { $ path = $ request -> getPathInfo ( ) ; if ( $ qs = $ request -> getQueryString ( ) ) { $ path .= '?' . $ qs ; } return $ request -> getMethod ( ) . ' ' . $ path ; }
Calculates the key we use in the "trace" array for a given request.
Calculates the key we use in the trace array for a given request .