var/cache/dev/twig/75/7508af79ef38bbfb5ce2e8a3d7563054.php line 74

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_5814e8e0d2f525bc78e30eaa46c6ac43 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.     public function getTemplateName()
  70.     {
  71.         return "product/listing.html.twig";
  72.     }
  73.     public function isTraitable()
  74.     {
  75.         return false;
  76.     }
  77.     public function getDebugInfo()
  78.     {
  79.         return array (  76 => 8,  74 => 7,  70 => 5,  60 => 4,  37 => 1,);
  80.     }
  81.     public function getSourceContext()
  82.     {
  83.         return new Source("{% extends 'layouts/layout.html.twig' %}
  84. {% block content %}
  85.     <div id=\"main-content\" class=\"main-content\">
  86.         {% include 'product/listing_content.html.twig' %}
  87.     </div>
  88. {%  endblock %}
  89. ""product/listing.html.twig""/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/templates/product/listing.html.twig");
  90.     }
  91.     
  92.     public function checkSecurity()
  93.     {
  94.         static $tags = array("include" => 7);
  95.         static $filters = array();
  96.         static $functions = array();
  97.         try {
  98.             $this->sandbox->checkSecurity(
  99.                 ['include'],
  100.                 [],
  101.                 []
  102.             );
  103.         } catch (SecurityError $e) {
  104.             $e->setSourceContext($this->source);
  105.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  106.                 $e->setTemplateLine($tags[$e->getTagName()]);
  107.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  108.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  109.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  110.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  111.             }
  112.             throw $e;
  113.         }
  114.     }
  115. }