protected function isProfilerRequest(Request $request)
    {
        $route = $request->attributes->get('_route');

        return $route === '_wdt' || strpos($route, '_profiler') === 0;
    }
protected function isProfilerRequest(Request $request)
    {
        $route = $request->attributes->get('_route');

        return $route === '_wdt' || strpos($route, '_profiler') === 0;
    }
protected function isProfilerRequest ( Request $ request ) { $ route = $ request -> attributes -> get ( '_route' ) ; return $ route === '_wdt' || strpos ( $ route , '_profiler' ) === 0 ; }
Check to see if the request has matched one of the profiler's
routes.

@param Request $request

@return bool
Check to see if the request has matched one of the profiler s routes .