var/cache/dev/twig/43/4384c6939636a5be7686bdfdad4707d2.php line 56

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_879977d854c3db32e3c5b918f239da29 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_latestProducts.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_latestProducts.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"section-header\">
  35.   <h2 class=\"text-3xl font-bold\">";
  36.         // line 2
  37.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.latest_products"), "html"nulltrue);
  38.         echo "</h2>
  39. </div>
  40. <div data-js-products-carousel-id=\"latest-products\" ";
  41.         // line 5
  42.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("latest-products");
  43.         echo ">
  44.     ";
  45.         // line 6
  46.         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" => 12"template" => "@SyliusShop/Homepage/_list.html.twig"]));
  47.         echo "
  48. </div>
  49. ";
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     public function getTemplateName()
  56.     {
  57.         return "@SyliusShop/Homepage/_latestProducts.html.twig";
  58.     }
  59.     public function isTraitable()
  60.     {
  61.         return false;
  62.     }
  63.     public function getDebugInfo()
  64.     {
  65.         return array (  56 => 6,  52 => 5,  46 => 2,  43 => 1,);
  66.     }
  67.     public function getSourceContext()
  68.     {
  69.         return new Source("<div class=\"section-header\">
  70.   <h2 class=\"text-3xl font-bold\">{{ 'sylius.ui.latest_products'|trans }}</h2>
  71. </div>
  72. <div data-js-products-carousel-id=\"latest-products\" {{ sylius_test_html_attribute('latest-products') }}>
  73.     {{ render(url('sylius_shop_partial_product_index_latest', {'count': 12, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  74. </div>
  75. ""@SyliusShop/Homepage/_latestProducts.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/Homepage/_latestProducts.html.twig");
  76.     }
  77. }