var/cache/dev/twig/57/57e1276c3c602e74591c552849e1ec5b8790cdde518ebe325941f890df95af56.php line 54

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_06188cf43c18b8bbc51353ef67b46b32ab8e76ace79a7344263d53fd6fc9e2e3 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.         echo "<h2 class=\"ui center aligned huge header\">";
  35.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.latest_products"), "html"nulltrue);
  36.         echo "</h2>
  37. <div class=\"ui hidden divider\"></div>
  38. <div ";
  39.         // line 4
  40.         echo call_user_func_array($this->env->getFunction('sylius_test_html_attribute')->getCallable(), ["latest-products"]);
  41.         echo ">
  42.     ";
  43.         // line 5
  44.         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"]));
  45.         echo "
  46. </div>
  47. <div class=\"ui hidden divider\"></div>
  48. ";
  49.         
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  51.         
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  53.     }
  54.     public function getTemplateName()
  55.     {
  56.         return "@SyliusShop/Homepage/_latestProducts.html.twig";
  57.     }
  58.     public function isTraitable()
  59.     {
  60.         return false;
  61.     }
  62.     public function getDebugInfo()
  63.     {
  64.         return array (  54 => 5,  50 => 4,  43 => 1,);
  65.     }
  66.     public function getSourceContext()
  67.     {
  68.         return new Source("<h2 class=\"ui center aligned huge header\">{{ 'sylius.ui.latest_products'|trans }}</h2>
  69. <div class=\"ui hidden divider\"></div>
  70. <div {{ sylius_test_html_attribute('latest-products') }}>
  71.     {{ render(url('sylius_shop_partial_product_index_latest', {'count': 3, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  72. </div>
  73. <div class=\"ui hidden divider\"></div>
  74. ""@SyliusShop/Homepage/_latestProducts.html.twig""/home/onproof/public_html/syliusdemo/store/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Homepage/_latestProducts.html.twig");
  75.     }
  76. }