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", "default/components/breadcrumb.html.twig")); // line 1 if ( !twig_test_empty((isset($context["breadcrumb_entries"]) || array_key_exists("breadcrumb_entries", $context) ? $context["breadcrumb_entries"] : (function () { throw new RuntimeError('Variable "breadcrumb_entries" does not exist.', 1, $this->source); })()))) { // line 2 echo "
  1. env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "getSchemeAndHttpHost", [], "method", false, false, false, 5), "html", null, true); echo "\"> STERN TOURS
  2. "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumb_entries"]) || array_key_exists("breadcrumb_entries", $context) ? $context["breadcrumb_entries"] : (function () { throw new RuntimeError('Variable "breadcrumb_entries" does not exist.', 9, $this->source); })())); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb_entry"]) { // line 10 echo " "; // line 11 echo "
  3. env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "title", [], "any", false, false, false, 12), "html", null, true); echo "\" href=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "getSchemeAndHttpHost", [], "method", false, false, false, 12), "html", null, true); echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "url", [], "any", false, false, false, 12), "html", null, true); echo "\"> "; // line 13 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "title", [], "any", false, false, false, 13), "html", null, true); echo " env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 15) + 2), "html", null, true); echo "\">
  4. "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb_entry'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo "
"; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "default/components/breadcrumb.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 105 => 18, 88 => 15, 83 => 13, 76 => 12, 73 => 11, 71 => 10, 54 => 9, 47 => 5, 42 => 2, 40 => 1,); } public function getSourceContext() { return new Source("{% if breadcrumb_entries is not empty %}
  1. STERN TOURS
  2. {% for breadcrumb_entry in breadcrumb_entries %} {# @var breadcrumb_entry \\AppBundle\\Entity\\BreadcrumbEntry #}
  3. {{ breadcrumb_entry.title }}
  4. {% endfor %}
{% endif %}", "default/components/breadcrumb.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/breadcrumb.html.twig"); } }