var/cache/dev/twig/a3/a349b24da1fdbd8fd3a4e1f131e0abe035c8c0bb7947a180abb0faf9cc1f17c1.php line 33

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/_latestProductsCarousel.html.twig */
  14. class __TwigTemplate_5debb69110988836aaabb4f5362264c0d02c36b79a09a94f5fa47564fe29ae70 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_latestProductsCarousel.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_latestProductsCarousel.html.twig"));
  33.         // line 1
  34.         $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/sectionHeaders.html.twig""@SyliusShop/Homepage/_latestProductsCarousel.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "
  37. <section class=\"bloc-news pt-md-4 pt-3 mt-md-0\">
  38.     <div class=\"max-container-3 px-mob-0\">
  39.         ";
  40.         // line 5
  41.         echo twig_call_macro($macros["headers"], "macro_default", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.homepage.news_title")], 5$context$this->getSourceContext());
  42.         echo "
  43.         ";
  44.         // line 6
  45.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 15"template" => "@SyliusShop/Homepage/_carousel.html.twig"]));
  46.         echo "
  47.         
  48.     </div>
  49. </section>
  50. ";
  51.         
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  53.         
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  55.     }
  56.     public function getTemplateName()
  57.     {
  58.         return "@SyliusShop/Homepage/_latestProductsCarousel.html.twig";
  59.     }
  60.     public function isTraitable()
  61.     {
  62.         return false;
  63.     }
  64.     public function getDebugInfo()
  65.     {
  66.         return array (  54 => 6,  50 => 5,  45 => 2,  43 => 1,);
  67.     }
  68.     public function getSourceContext()
  69.     {
  70.         return new Source("{% import '@SyliusShop/Common/Macro/sectionHeaders.html.twig' as headers %}
  71. <section class=\"bloc-news pt-md-4 pt-3 mt-md-0\">
  72.     <div class=\"max-container-3 px-mob-0\">
  73.         {{ headers.default('app.homepage.news_title'|trans) }}
  74.         {{ render(url('sylius_shop_partial_product_index_latest', {'count': 15, 'template': '@SyliusShop/Homepage/_carousel.html.twig'})) }}
  75.         
  76.     </div>
  77. </section>
  78. ""@SyliusShop/Homepage/_latestProductsCarousel.html.twig""/home/chouettemauve/preprod/sylius/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Homepage/_latestProductsCarousel.html.twig");
  79.     }
  80. }