var/cache/dev/twig/6d/6d845bf35e470d6e7f52d21362d2a475.php line 89

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. /* @SyliusShop/Homepage/index.html.twig */
  14. class __TwigTemplate_84437e1fb909348dbde502a3af44edac 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->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'main_content' => [$this'block_main_content'],
  26.             'flashes' => [$this'block_flashes'],
  27.             'content' => [$this'block_content'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@SyliusShop/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Homepage/index.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_stylesheets($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->displayParentBlock("stylesheets"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 5
  63.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("shop-homepage"null"bootstrapTheme");
  64.         echo "
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 8
  72.     public function block_javascripts($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  79.         // line 9
  80.         echo "    ";
  81.         $this->displayParentBlock("javascripts"$context$blocks);
  82.         echo "
  83.     ";
  84.         // line 10
  85.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("shop-homepage"null"bootstrapTheme");
  86.         echo "
  87. ";
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.     }
  93.     // line 13
  94.     public function block_main_content($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  101.         // line 14
  102.         echo "    <main class=\"main-container\">
  103.         ";
  104.         // line 15
  105.         $this->displayBlock('flashes'$context$blocks);
  106.         // line 20
  107.         echo "
  108.         ";
  109.         // line 21
  110.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.before_content");
  111.         echo "
  112.         ";
  113.         // line 23
  114.         $this->displayBlock('content'$context$blocks);
  115.         // line 28
  116.         echo "
  117.         ";
  118.         // line 29
  119.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.after_content");
  120.         echo "
  121.     </main>
  122. ";
  123.         
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.     }
  128.     // line 15
  129.     public function block_flashes($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flashes"));
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flashes"));
  136.         // line 16
  137.         echo "            <div class=\"container-fluid my-4\">
  138.                 ";
  139.         // line 17
  140.         $this->loadTemplate("@SyliusShop/_flashes.html.twig""@SyliusShop/Homepage/index.html.twig"17)->display($context);
  141.         // line 18
  142.         echo "            </div>
  143.         ";
  144.         
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  146.         
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148.     }
  149.     // line 23
  150.     public function block_content($context, array $blocks = [])
  151.     {
  152.         $macros $this->macros;
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  157.         // line 24
  158.         echo "            <div class=\"homepage mt-xl-7\">
  159.                 ";
  160.         // line 25
  161.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.homepage"twig_array_merge($context, ["homepage" => true]));
  162.         echo "
  163.             </div>
  164.         ";
  165.         
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  167.         
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  169.     }
  170.     public function getTemplateName()
  171.     {
  172.         return "@SyliusShop/Homepage/index.html.twig";
  173.     }
  174.     public function isTraitable()
  175.     {
  176.         return false;
  177.     }
  178.     public function getDebugInfo()
  179.     {
  180.         return array (  196 => 25,  193 => 24,  183 => 23,  172 => 18,  170 => 17,  167 => 16,  157 => 15,  144 => 29,  141 => 28,  139 => 23,  134 => 21,  131 => 20,  129 => 15,  126 => 14,  116 => 13,  104 => 10,  99 => 9,  89 => 8,  77 => 5,  72 => 4,  62 => 3,  39 => 1,);
  181.     }
  182.     public function getSourceContext()
  183.     {
  184.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  185. {% block stylesheets %}
  186.     {{ parent() }}
  187.     {{ encore_entry_link_tags('shop-homepage', null, 'bootstrapTheme') }}
  188. {% endblock %}
  189. {% block javascripts %}
  190.     {{ parent() }}
  191.     {{ encore_entry_script_tags('shop-homepage', null, 'bootstrapTheme') }}
  192. {% endblock %}
  193. {% block main_content %}
  194.     <main class=\"main-container\">
  195.         {% block flashes %}
  196.             <div class=\"container-fluid my-4\">
  197.                 {% include '@SyliusShop/_flashes.html.twig' %}
  198.             </div>
  199.         {% endblock %}
  200.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  201.         {% block content %}
  202.             <div class=\"homepage mt-xl-7\">
  203.                 {{ sylius_template_event('sylius.shop.homepage', _context|merge({'homepage': true})) }}
  204.             </div>
  205.         {% endblock %}
  206.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  207.     </main>
  208. {% endblock %}
  209. ""@SyliusShop/Homepage/index.html.twig""/var/www/sudekusa-shop-test/themes/BootstrapChildTheme/SyliusShopBundle/views/Homepage/index.html.twig");
  210.     }
  211. }