var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/4f/4fa43da30dea29549a8cadcb291b0bb252aa6072b92e46698d3c8a5879a4adf7.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @SwagPlatformSecurity/storefront/page/search/index.html.twig */
  16. class __TwigTemplate_78028a5d2cc392bb6ef8cf946863f799b228772f7aae62eb7e8d48d01d58eab6 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_search_headline_text' => [$this'block_page_search_headline_text'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/page/search/index.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPlatformSecurity/storefront/page/search/index.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPlatformSecurity/storefront/page/search/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/page/search/index.html.twig""@SwagPlatformSecurity/storefront/page/search/index.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_page_search_headline_text($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  55.         // line 4
  56.         echo "    ";
  57.         if (sw_get_attribute($this->env$this->source, ($context["swagSecurity"] ?? null), "isActive", [=> "NEXT-10624"], "method"falsefalsefalse4)) {
  58.             // line 5
  59.             echo "        ";
  60.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.headline", ["%count%" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 6
  61. ($context["page"] ?? null), "listing", [], "any"falsefalsefalse6), "total", [], "any"falsefalsefalse6), "%searchTerm%" => sw_get_attribute($this->env$this->source,             // line 7
  62. ($context["page"] ?? null), "searchTerm", [], "any"falsefalsefalse7)]), "html"nulltrue);
  63.             // line 8
  64.             echo "
  65.     ";
  66.         } else {
  67.             // line 10
  68.             echo "        ";
  69.             $this->displayParentBlock("page_search_headline_text"$context$blocks);
  70.             echo "
  71.     ";
  72.         }
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     public function getTemplateName()
  79.     {
  80.         return "@SwagPlatformSecurity/storefront/page/search/index.html.twig";
  81.     }
  82.     public function isTraitable()
  83.     {
  84.         return false;
  85.     }
  86.     public function getDebugInfo()
  87.     {
  88.         return array (  80 => 10,  76 => 8,  74 => 7,  73 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  89.     }
  90.     public function getSourceContext()
  91.     {
  92.         return new Source("{% sw_extends '@Storefront/storefront/page/search/index.html.twig'%}
  93. {% block page_search_headline_text %}
  94.     {% if swagSecurity.isActive('NEXT-10624') %}
  95.         {{ \"search.headline\"|trans({
  96.             '%count%': page.listing.total,
  97.             '%searchTerm%': page.searchTerm,
  98.         }) }}
  99.     {% else %}
  100.         {{ parent() }}
  101.     {% endif %}
  102. {% endblock %}
  103. ""@SwagPlatformSecurity/storefront/page/search/index.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SwagPlatformSecurity/src/Resources/views/storefront/page/search/index.html.twig");
  104.     }
  105. }