source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Twig/Exception/traces.html.twig"));
// line 1
echo "
";
// line 2
if (((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 2, $this->source); })()) > 0)) {
// line 3
echo "
";
} else {
// line 14
echo "
Stack Trace
";
}
// line 16
echo "
env, (isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 17, $this->source); })()), "html", null, true);
echo "\">
env, (isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 18, $this->source); })()), "html", null, true);
echo "\" style=\"display: ";
echo (((0 == (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 18, $this->source); })()))) ? ("block") : ("none"));
echo "\">
";
// line 19
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["exception"]) || array_key_exists("exception", $context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.', 19, $this->source); })()), "trace", [], "any", false, false, false, 19));
foreach ($context['_seq'] as $context["i"] => $context["trace"]) {
// line 20
echo " -
";
// line 21
$this->loadTemplate("@Twig/Exception/trace.html.twig", "@Twig/Exception/traces.html.twig", 21)->display(twig_to_array(["prefix" => (isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 21, $this->source); })()), "i" => $context["i"], "trace" => $context["trace"]]));
// line 22
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['trace'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Twig/Exception/traces.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 122 => 24, 115 => 22, 113 => 21, 110 => 20, 106 => 19, 100 => 18, 96 => 17, 93 => 16, 89 => 14, 85 => 12, 77 => 9, 71 => 8, 62 => 7, 60 => 6, 54 => 5, 48 => 4, 45 => 3, 43 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("
{% if count > 0 %}
[{{ count - position + 1 }}/{{ count + 1 }}]
{{ exception.class|abbr_class }}: {{ exception.message|nl2br|format_file_from_text }}
{% spaceless %}
{% endspaceless %}
{% else %}
Stack Trace
{% endif %}
{% for i, trace in exception.trace %}
-
{% include '@Twig/Exception/trace.html.twig' with { 'prefix': position, 'i': i, 'trace': trace } only %}
{% endfor %}
", "@Twig/Exception/traces.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig");
}
}