public function searchBarAction()
{
$profiler = $this->container->get('profiler');
$profiler->disable();
if (null === $session = $this->container->get('request')->getSession()) {
$ip =
$url =
$limit =
$token = null;
} else {
$ip = $session->get('_profiler_search_ip');
$url = $session->get('_profiler_search_url');
$limit = $session->get('_profiler_search_limit');
$token = $session->get('_profiler_search_token');
}
return $this->container->get('templating')->renderResponse('WebProfilerBundle:Profiler:search.html.twig', array(
'token' => $token,
'ip' => $ip,
'url' => $url,
'limit' => $limit,
));
}