var/cache/dev/twig/3f/3fc332bbac53ad58b8abe78e6bbd6af465226476d2d2f7f87a2701f41353a604.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/_latestProducts.html.twig */
  14. class __TwigTemplate_8e1c6b0635393ac6ed81c12ede17ce3a45d3b22ce856fbd154a5a34597aab8d7 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/_latestProducts.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/_latestProducts.html.twig"));
  33.         // line 1
  34.         $macros["headers"] = $this->macros["headers"] = $this->loadTemplate("@SyliusShop/Common/Macro/sectionHeaders.html.twig""@SyliusShop/Homepage/_latestProducts.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "<div class=\"d-none\">
  37.     ";
  38.         // line 3
  39.         echo twig_call_macro($macros["headers"], "macro_default", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.latest_products")], 3$context$this->getSourceContext());
  40.         echo "
  41.     <div ";
  42.         // line 5
  43.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("latest-products");
  44.         echo ">
  45.         ";
  46.         // line 6
  47.         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" => 3"template" => "@SyliusShop/Homepage/_list.html.twig"]));
  48.         echo "
  49.     </div>
  50. </div>
  51. ";
  52.         
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  54.         
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  56.     }
  57.     public function getTemplateName()
  58.     {
  59.         return "@SyliusShop/Homepage/_latestProducts.html.twig";
  60.     }
  61.     public function isTraitable()
  62.     {
  63.         return false;
  64.     }
  65.     public function getDebugInfo()
  66.     {
  67.         return array (  57 => 6,  53 => 5,  48 => 3,  45 => 2,  43 => 1,);
  68.     }
  69.     public function getSourceContext()
  70.     {
  71.         return new Source("{% import '@SyliusShop/Common/Macro/sectionHeaders.html.twig' as headers %}
  72. <div class=\"d-none\">
  73.     {{ headers.default('sylius.ui.latest_products'|trans) }}
  74.     <div {{ sylius_test_html_attribute('latest-products') }}>
  75.         {{ render(url('sylius_shop_partial_product_index_latest', {'count': 3, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  76.     </div>
  77. </div>
  78. ""@SyliusShop/Homepage/_latestProducts.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Homepage/_latestProducts.html.twig");
  79.     }
  80. }