var/cache/dev/twig/48/48fb6199750f020a0021cd4e591237e6.php line 50

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. /* cart/cart_empty.html.twig */
  14. class __TwigTemplate_da35aa64c7b1f4183d5a2581f3ae2ec5 extends 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""cart/cart_empty.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""cart/cart_empty.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""cart/cart_empty.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "
  57.     <div class=\"py-5 bg-light\">
  58.         <div class=\"container\">
  59.             <h4 class=\"mb-3\">";
  60.         // line 8
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart.title.empty"), "html"nulltrue);
  62.         echo "</h4>
  63.             <div class=\"text-center\">
  64.                 <a href=\"/\" class=\"btn btn-outline-secondary\">
  65.                     ";
  66.         // line 13
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart.continue-shopping"), "html"nulltrue);
  68.         echo "
  69.                 </a>
  70.             </div>
  71.         </div>
  72.     </div>
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     /**
  80.      * @codeCoverageIgnore
  81.      */
  82.     public function getTemplateName()
  83.     {
  84.         return "cart/cart_empty.html.twig";
  85.     }
  86.     /**
  87.      * @codeCoverageIgnore
  88.      */
  89.     public function isTraitable()
  90.     {
  91.         return false;
  92.     }
  93.     /**
  94.      * @codeCoverageIgnore
  95.      */
  96.     public function getDebugInfo()
  97.     {
  98.         return array (  84 => 13,  76 => 8,  70 => 4,  60 => 3,  37 => 1,);
  99.     }
  100.     public function getSourceContext()
  101.     {
  102.         return new Source("{% extends 'layouts/layout.html.twig' %}
  103. {% block content %}
  104.     <div class=\"py-5 bg-light\">
  105.         <div class=\"container\">
  106.             <h4 class=\"mb-3\">{{ 'cart.title.empty' | trans }}</h4>
  107.             <div class=\"text-center\">
  108.                 <a href=\"/\" class=\"btn btn-outline-secondary\">
  109.                     {{ 'cart.continue-shopping' | trans }}
  110.                 </a>
  111.             </div>
  112.         </div>
  113.     </div>
  114. {% endblock %}""cart/cart_empty.html.twig""/var/www/html/templates/cart/cart_empty.html.twig");
  115.     }
  116.     
  117.     public function checkSecurity()
  118.     {
  119.         static $tags = array();
  120.         static $filters = array("escape" => 8"trans" => 8);
  121.         static $functions = array();
  122.         try {
  123.             $this->sandbox->checkSecurity(
  124.                 [],
  125.                 ['escape''trans'],
  126.                 []
  127.             );
  128.         } catch (SecurityError $e) {
  129.             $e->setSourceContext($this->source);
  130.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  131.                 $e->setTemplateLine($tags[$e->getTagName()]);
  132.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  133.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  134.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  135.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  136.             }
  137.             throw $e;
  138.         }
  139.     }
  140. }