var/cache/dev/twig/fb/fb627c20cd6303e6eee017729dd327a1.php line 41

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. /* Shop/listing.html.twig */
  14. class __TwigTemplate_d83fafcfda5f659bd3fd02b651da022f extends 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->blocks = [
  23.             'PAGE_JS' => [$this'block_PAGE_JS'],
  24.             'CONTENT' => [$this'block_CONTENT'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "layout/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Shop/listing.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Shop/listing.html.twig"));
  41.         $this->parent $this->loadTemplate("layout/layout.html.twig""Shop/listing.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_PAGE_JS($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""PAGE_JS"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""PAGE_JS"));
  56.         // line 4
  57.         echo "    <script src=\"";
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static2/js/productfilters.js"), "html"nulltrue);
  59.         echo "\"></script>
  60. ";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     // line 7
  67.     public function block_CONTENT($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CONTENT"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CONTENT"));
  74.         // line 8
  75.         echo "
  76.     <div id=\"main-content\" class=\"pt-3\">
  77.         ";
  78.         // line 10
  79.         $this->loadTemplate("Shop/filter.html.twig""Shop/listing.html.twig"10)->display($context);
  80.         // line 11
  81.         echo "    </div>
  82. ";
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     /**
  89.      * @codeCoverageIgnore
  90.      */
  91.     public function getTemplateName()
  92.     {
  93.         return "Shop/listing.html.twig";
  94.     }
  95.     /**
  96.      * @codeCoverageIgnore
  97.      */
  98.     public function isTraitable()
  99.     {
  100.         return false;
  101.     }
  102.     /**
  103.      * @codeCoverageIgnore
  104.      */
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  100 => 11,  98 => 10,  94 => 8,  84 => 7,  71 => 4,  61 => 3,  38 => 1,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{% extends 'layout/layout.html.twig' %}
  112. {% block PAGE_JS %}
  113.     <script src=\"{{ asset('static2/js/productfilters.js') }}\"></script>
  114. {% endblock %}
  115. {% block CONTENT %}
  116.     <div id=\"main-content\" class=\"pt-3\">
  117.         {% include 'Shop/filter.html.twig' %}
  118.     </div>
  119. {%  endblock %}""Shop/listing.html.twig""/var/www/html/templates/Shop/listing.html.twig");
  120.     }
  121.     
  122.     public function checkSecurity()
  123.     {
  124.         static $tags = array("include" => 10);
  125.         static $filters = array("escape" => 4);
  126.         static $functions = array("asset" => 4);
  127.         try {
  128.             $this->sandbox->checkSecurity(
  129.                 ['include'],
  130.                 ['escape'],
  131.                 ['asset']
  132.             );
  133.         } catch (SecurityError $e) {
  134.             $e->setSourceContext($this->source);
  135.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  136.                 $e->setTemplateLine($tags[$e->getTagName()]);
  137.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  138.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  139.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  140.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  141.             }
  142.             throw $e;
  143.         }
  144.     }
  145. }