parent = array();
$this->blocks = array(
'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);
// line 3
$context['__internal_ca6c926fd37548ece764faa7e0e87432_1'] = $this;
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
}
// line 5
public function block_menu($context, array $blocks = array())
{
// line 6
echo "
env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/events.png"), "html");
echo "\" alt=\"Events\" />
Events
";
}
// line 12
public function block_panel($context, array $blocks = array())
{
// line 13
echo "
Event name | Listener |
---|---|
";
// line 22
echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'listener'), "event", array(), "any", false), "html");
echo " |
";
// line 23
echo twig_escape_filter($this->env, $this->getAttribute($context['__internal_ca6c926fd37548ece764faa7e0e87432_1'], "display_listener", array($this->getContext($context, 'listener'), ), "method", false), "html");
echo " |
Event name | Listener |
---|---|
";
// line 39
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, 'listeners'), $this->getContext($context, 'listener'), array(), "array", false), "event", array(), "any", false), "html");
echo " |
";
// line 40
echo twig_escape_filter($this->env, $this->getAttribute($context['__internal_ca6c926fd37548ece764faa7e0e87432_1'], "display_listener", array($this->getAttribute($this->getContext($context, 'listeners'), $this->getContext($context, 'listener'), array(), "array", false), ), "method", false), "html");
echo " |