var/cache/dev/twig/02/02cc2fbd20685db45f958c4e38635b89.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_bc0d1a3622d98be139a748d07c81b1dd 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.     public function getTemplateName()
  80.     {
  81.         return "cart/cart_empty.html.twig";
  82.     }
  83.     public function isTraitable()
  84.     {
  85.         return false;
  86.     }
  87.     public function getDebugInfo()
  88.     {
  89.         return array (  84 => 13,  76 => 8,  70 => 4,  60 => 3,  37 => 1,);
  90.     }
  91.     public function getSourceContext()
  92.     {
  93.         return new Source("{% extends 'layouts/layout.html.twig' %}
  94. {% block content %}
  95.     <div class=\"py-5 bg-light\">
  96.         <div class=\"container\">
  97.             <h4 class=\"mb-3\">{{ 'cart.title.empty' | trans }}</h4>
  98.             <div class=\"text-center\">
  99.                 <a href=\"/\" class=\"btn btn-outline-secondary\">
  100.                     {{ 'cart.continue-shopping' | trans }}
  101.                 </a>
  102.             </div>
  103.         </div>
  104.     </div>
  105. {% endblock %}""cart/cart_empty.html.twig""/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/templates/cart/cart_empty.html.twig");
  106.     }
  107.     
  108.     public function checkSecurity()
  109.     {
  110.         static $tags = array();
  111.         static $filters = array("escape" => 8"trans" => 8);
  112.         static $functions = array();
  113.         try {
  114.             $this->sandbox->checkSecurity(
  115.                 [],
  116.                 ['escape''trans'],
  117.                 []
  118.             );
  119.         } catch (SecurityError $e) {
  120.             $e->setSourceContext($this->source);
  121.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  122.                 $e->setTemplateLine($tags[$e->getTagName()]);
  123.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  124.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  125.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  126.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  127.             }
  128.             throw $e;
  129.         }
  130.     }
  131. }