try { $collector =
$profile->
getCollector($panelName);
} catch (\InvalidArgumentException
) { return new Response('This collector does not exist.'
);
} if (!
$collector instanceof ConnectionProfiler
) { return new Response('This collector does not exist.'
);
} $queries =
$collector->
getQueries();
if (!
isset($queries[$connectionName][$queryIndex])) { return new Response('This query does not exist.'
);
} $queryIndex =
$queries[$connectionName][$queryIndex];
if (!
$queryIndex['explainable'
]) { return new Response('This query cannot be explained.'
);
} try {