var/cache/dev/twig/d1/d166ac8be6132157ce3727ac80cf0307.php line 50

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