var/cache/dev/twig/64/64f6837c3c912da252a4bf080dbe77575624a5b78e01df0d499fc67e4a292adb.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* includes/sidebar.html.twig */
  14. class __TwigTemplate_f5054d710332de54cedb8b3115dc42b2b092b4d6a94bb3480b66fc6fc1f9abd2 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/sidebar.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/sidebar.html.twig"));
  33.         // line 2
  34.         echo "
  35. ";
  36.         // line 3
  37.         if (array_key_exists("sidebars"$context)) {
  38.             // line 4
  39.             echo "\t";
  40.             $context['_parent'] = $context;
  41.             $context['_seq'] = twig_ensure_traversable((isset($context["sidebars"]) || array_key_exists("sidebars"$context) ? $context["sidebars"] : (function () { throw new RuntimeError('Variable "sidebars" does not exist.'4$this->source); })()));
  42.             foreach ($context['_seq'] as $context["_key"] => $context["sidebar"]) {
  43.                 // line 5
  44.                 echo "\t\t\t";
  45.                 echo $this->extensions['App\Twig\RCSExtension']->show_module($context["sidebar"]);
  46.                 echo "
  47. \t";
  48.             }
  49.             $_parent $context['_parent'];
  50.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sidebar'], $context['_parent'], $context['loop']);
  51.             $context array_intersect_key($context$_parent) + $_parent;
  52.         }
  53.         
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.     }
  58.     public function getTemplateName()
  59.     {
  60.         return "includes/sidebar.html.twig";
  61.     }
  62.     public function isTraitable()
  63.     {
  64.         return false;
  65.     }
  66.     public function getDebugInfo()
  67.     {
  68.         return array (  53 => 5,  48 => 4,  46 => 3,  43 => 2,);
  69.     }
  70.     public function getSourceContext()
  71.     {
  72.         return new Source("{# each sidebar is different depending on the content type #}
  73. {% if sidebars is defined %}
  74. \t{% for sidebar in sidebars %}
  75. \t\t\t{{ show_module(sidebar) }}
  76. \t{% endfor %}
  77. {% endif %}
  78. ""includes/sidebar.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/includes/sidebar.html.twig");
  79.     }
  80. }