var/cache/dev/twig/60/60932980c9f548bc7f37735302a2ac13a9736e06c394f29cf798adb14fe6c476.php line 75

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_2b1b321ef2248aa2c03d168f2d8b8e6cc879c2b7f6c55332fbde47086c9659c8 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "@SyliusShop/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  38.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Homepage/index.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "    <div class=\"homepage\">
  55.         <div class=\"ui hidden divider\"></div>
  56.         <div class=\"ui stackable grid\" id=\"reviews\">
  57.             <div class=\"four wide column globalSidebar sidebarDesktop\">
  58.                 ";
  59.         // line 9
  60.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Custom\\MenuController:renderMenu", ["type" => "sidebar"]));
  61.         // line 11
  62.         echo "
  63.             </div>
  64.             <div class=\"twelve wide column center aligned sliderHomepage\">
  65.                 <div class=\"column\">
  66.                     <div class=\"Product_Box_content--title\">Nos offres exclusives</div>
  67.                     ";
  68.         // line 16
  69.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\HomepageController:renderSlides"));
  70.         echo "
  71.                 </div>
  72.                 <div class=\"column\">
  73.                     <div class=\"Product_Box_content--title\">Les produits phares</div>
  74.                     ";
  75.         // line 20
  76.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\HomepageController:renderBestSelling", ["grid" => 1]));
  77.         // line 22
  78.         echo "
  79.                 </div>
  80.             </div>
  81.         </div>
  82.     </div>
  83. ";
  84.         
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  86.         
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  88.     }
  89.     public function getTemplateName()
  90.     {
  91.         return "@SyliusShop/Homepage/index.html.twig";
  92.     }
  93.     public function isTraitable()
  94.     {
  95.         return false;
  96.     }
  97.     public function getDebugInfo()
  98.     {
  99.         return array (  93 => 22,  91 => 20,  84 => 16,  77 => 11,  75 => 9,  68 => 4,  58 => 3,  35 => 1,);
  100.     }
  101.     public function getSourceContext()
  102.     {
  103.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  104. {% block content %}
  105.     <div class=\"homepage\">
  106.         <div class=\"ui hidden divider\"></div>
  107.         <div class=\"ui stackable grid\" id=\"reviews\">
  108.             <div class=\"four wide column globalSidebar sidebarDesktop\">
  109.                 {{ render(controller('App\\\\Controller\\\\Custom\\\\MenuController:renderMenu', {
  110.                     'type': 'sidebar'
  111.                 })) }}
  112.             </div>
  113.             <div class=\"twelve wide column center aligned sliderHomepage\">
  114.                 <div class=\"column\">
  115.                     <div class=\"Product_Box_content--title\">Nos offres exclusives</div>
  116.                     {{ render(controller('App\\\\Controller\\\\Shop\\\\HomepageController:renderSlides')) }}
  117.                 </div>
  118.                 <div class=\"column\">
  119.                     <div class=\"Product_Box_content--title\">Les produits phares</div>
  120.                     {{ render(controller('App\\\\Controller\\\\Shop\\\\HomepageController:renderBestSelling', {
  121.                         'grid': 1
  122.                     })) }}
  123.                 </div>
  124.             </div>
  125.         </div>
  126.     </div>
  127. {% endblock %}
  128. ""@SyliusShop/Homepage/index.html.twig""/var/www/html/templates/bundles/SyliusShopBundle/Homepage/index.html.twig");
  129.     }
  130. }