var/cache/dev/twig/a8/a8ebdd1bd3efde537bc00704050496e3.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/_box.html.twig */
  14. class __TwigTemplate_28718258adbba6ab1bd720582486c14b 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/Product/_box.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/Product/_box.html.twig"));
  33.         // line 1
  34.         if ( !array_key_exists("wishlist"$context)) {
  35.             // line 2
  36.             echo "    ";
  37.             $context["wishlist"] = null;
  38.         }
  39.         // line 4
  40.         echo "
  41. ";
  42.         // line 5
  43.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.index.box", ["product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'5$this->source); })()), "wishlist" => (isset($context["wishlist"]) || array_key_exists("wishlist"$context) ? $context["wishlist"] : (function () { throw new RuntimeError('Variable "wishlist" does not exist.'5$this->source); })())]);
  44.         echo "
  45. ";
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     public function getTemplateName()
  52.     {
  53.         return "@SyliusShop/Product/_box.html.twig";
  54.     }
  55.     public function isTraitable()
  56.     {
  57.         return false;
  58.     }
  59.     public function getDebugInfo()
  60.     {
  61.         return array (  52 => 5,  49 => 4,  45 => 2,  43 => 1,);
  62.     }
  63.     public function getSourceContext()
  64.     {
  65.         return new Source("{% if wishlist is not defined %}
  66.     {% set wishlist = null %}
  67. {% endif %}
  68. {{ sylius_template_event('sylius.shop.product.index.box', {'product': product, 'wishlist': wishlist}) }}
  69. ""@SyliusShop/Product/_box.html.twig""/var/www/html/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Product/_box.html.twig");
  70.     }
  71. }