$token =
$latest['token'
];
} if (!
$profile =
$this->profiler->
loadProfile($token)) { return $this->
renderWithCspNonces($request, '@WebProfiler/Profiler/info.html.twig',
['about' => 'no_token', 'token' =>
$token, 'request' =>
$request]);
} if (null ===
$panel) { $panel = 'request';
foreach ($profile->
getCollectors() as $collector) { if ($collector instanceof ExceptionDataCollector &&
$collector->
hasException()) { $panel =
$collector->
getName();
break;
} if ($collector instanceof DumpDataCollector &&
$collector->
getDumpsCount() > 0
) { $panel =
$collector->
getName();
} } }