parent = array();
$this->blocks = array(
'toolbar' => array($this, 'block_toolbar'),
'menu' => array($this, 'block_menu'),
'panel' => array($this, 'block_panel'),
);
}
public function getParent(array $context)
{
$parent = "WebProfilerBundle:Profiler:layout.html.twig";
if ($parent instanceof Twig_Template) {
$name = $parent->getTemplateName();
$this->parent[$name] = $parent;
$parent = $name;
} elseif (!isset($this->parent[$parent])) {
$this->parent[$parent] = $this->env->loadTemplate($parent);
}
return $this->parent[$parent];
}
protected function doDisplay(array $context, array $blocks = array())
{
$context = array_merge($this->env->getGlobals(), $context);
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_toolbar($context, array $blocks = array())
{
// line 4
echo " ";
ob_start();
// line 5
echo "
";
$context['icon'] = new Twig_Markup(ob_get_clean());
// line 7
echo " ";
ob_start();
// line 8
echo " ";
ob_start();
// line 9
echo " ";
if ($this->getAttribute((($this->getAttribute(((array_key_exists("collector", $context)) ? (twig_default_filter($this->getContext($context, 'collector'))) : ("")), "controller", array(), "any", true)) ? (twig_default_filter($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false))) : ("")), "class", array(), "any", true)) {
// line 10
echo " ";
echo $this->env->getExtension('code')->abbrClass($this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "class", array(), "any", false));
echo "
::
";
// line 12
$context['link'] = $this->env->getExtension('code')->getFileLink($this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "file", array(), "any", false), $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "line", array(), "any", false));
// line 13
echo " ";
if ($this->getContext($context, 'link')) {
echo "env, $this->getContext($context, 'link'), "html");
echo "\">";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "method", array(), "any", false), "html");
echo "";
} else {
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "method", array(), "any", false), "html");
}
echo "
";
} else {
// line 15
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'collector'), "controller", array(), "any", false), "html");
echo "
";
}
// line 17
echo " |
getAttribute($this->getContext($context, 'collector'), "route", array(), "any", false))) ? (" style=\"color:#a33\"") : (""));
echo ">";
echo twig_escape_filter($this->env, (($this->getAttribute($this->getContext($context, 'collector'), "route", array(), "any", false)) ? ($this->getAttribute($this->getContext($context, 'collector'), "route", array(), "any", false)) : ("NONE")), "html");
echo "
|
getAttribute($this->getContext($context, 'collector'), "statuscode", array(), "any", false))) ? ("#759e1a") : ("#a33"));
echo "\">";
echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'collector'), "statuscode", array(), "any", false), "html");
echo "
";
echo trim(preg_replace('/>\s+', '><', ob_get_clean()));
// line 22
echo " ";
$context['text'] = new Twig_Markup(ob_get_clean());
// line 23
echo " ";
$this->env->loadTemplate("WebProfilerBundle:Profiler:toolbar_item.html.twig")->display(array_merge($context, array("link" => $this->getContext($context, 'profiler_url'))));
}
// line 26
public function block_menu($context, array $blocks = array())
{
// line 27
echo "
env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/request.png"), "html");
echo "\" alt=\"Request\" />
Request
";
}
// line 33
public function block_panel($context, array $blocks = array())
{
// line 34
echo "
No GET parameters
"; } // line 43 echo "No POST parameters
"; } // line 53 echo "No attributes
"; } // line 63 echo "No cookies
"; } // line 73 echo ""; // line 81 if (($this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false) == false)) { // line 82 echo " Request content not available (it was retrieved as a resource). "; } elseif ($this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false)) { // line 84 echo "
"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'collector'), "content", array(), "any", false), "html"); echo ""; } else { // line 86 echo " No content "; } // line 88 echo "
Key | Value |
---|---|
"; // line 109 echo twig_escape_filter($this->env, $this->getContext($context, 'key'), "html"); echo " | "; // line 110 echo twig_escape_filter($this->env, $this->env->getExtension('yaml')->dump($this->getAttribute($this->getContext($context, 'attributes'), $this->getContext($context, 'key'), array(), "array", false)), "html"); echo " |
No session attributes
"; } // line 119 echo " "; // line 121 if ($this->getAttribute($this->getContext($context, 'profile'), "parent", array(), "any", false)) { // line 122 echo "