var/cache/dev/twig/a7/a7e819f8ab3a75fc063c5401cc358dd2c6684a7076f471785b88c216bbbda2fd.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/Product/Show/_association.html.twig */
  14. class __TwigTemplate_418053cd8fec5b34d05d71f7a0fcc43a71f489622436a6c2264873162cfa4fab 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/Product/Show/_association.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/Product/Show/_association.html.twig"));
  33.         // line 1
  34.         echo "<h4 class=\"ui horizontal section divider header titleOtherProducts\">";
  35.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product_association"]) || array_key_exists("product_association"$context) ? $context["product_association"] : (function () { throw new RuntimeError('Variable "product_association" does not exist.'1$this->source); })()), "type", [], "any"falsefalsefalse1), "name", [], "any"falsefalsefalse1), "html"nulltrue);
  36.         echo "</h4>
  37. <div id=\"sylius-product-association-";
  38.         // line 2
  39.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product_association"]) || array_key_exists("product_association"$context) ? $context["product_association"] : (function () { throw new RuntimeError('Variable "product_association" does not exist.'2$this->source); })()), "type", [], "any"falsefalsefalse2), "name", [], "any"falsefalsefalse2), "html"nulltrue);
  40.         echo "\" ";
  41.         echo $this->env->getFunction('sylius_test_html_attribute')->getCallable()("product-association"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product_association"]) || array_key_exists("product_association"$context) ? $context["product_association"] : (function () { throw new RuntimeError('Variable "product_association" does not exist.'2$this->source); })()), "type", [], "any"falsefalsefalse2), "name", [], "any"falsefalsefalse2));
  42.         echo ">
  43. ";
  44.         // line 3
  45.         $this->loadTemplate("@SyliusShop/Product/_horizontalList.html.twig""@SyliusShop/Product/Show/_association.html.twig"3)->display(twig_array_merge($context, ["products" => twig_get_attribute($this->env$this->source, (isset($context["product_association"]) || array_key_exists("product_association"$context) ? $context["product_association"] : (function () { throw new RuntimeError('Variable "product_association" does not exist.'3$this->source); })()), "associatedProducts", [], "any"falsefalsefalse3)]));
  46.         // line 4
  47.         echo "</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/Product/Show/_association.html.twig";
  57.     }
  58.     public function isTraitable()
  59.     {
  60.         return false;
  61.     }
  62.     public function getDebugInfo()
  63.     {
  64.         return array (  56 => 4,  54 => 3,  48 => 2,  43 => 1,);
  65.     }
  66.     public function getSourceContext()
  67.     {
  68.         return new Source("<h4 class=\"ui horizontal section divider header titleOtherProducts\">{{ product_association.type.name }}</h4>
  69. <div id=\"sylius-product-association-{{ product_association.type.name }}\" {{ sylius_test_html_attribute('product-association', product_association.type.name) }}>
  70. {% include '@SyliusShop/Product/_horizontalList.html.twig' with {'products': product_association.associatedProducts} %}
  71. </div>
  72. ""@SyliusShop/Product/Show/_association.html.twig""/var/www/html/templates/bundles/SyliusShopBundle/Product/Show/_association.html.twig");
  73.     }
  74. }