$panel =
$collector->
getName();
break;
} if ($collector instanceof DumpDataCollector &&
$collector->
getDumpsCount() > 0
) { $panel =
$collector->
getName();
} } } if (!
$profile->
hasCollector($panel)) { throw new NotFoundHttpException(sprintf('Panel "%s" is not available for token "%s".',
$panel,
$token));
} return $this->
renderWithCspNonces($request,
$this->
getTemplateManager()->
getName($profile,
$panel),
[ 'token' =>
$token,
'profile' =>
$profile,
'collector' =>
$profile->
getCollector($panel),
'panel' =>
$panel,
'page' =>
$page,
'request' =>
$request,
'templates' =>
$this->
getTemplateManager()->
getNames($profile),