var/cache/dev_hb199fda60d64cb4aeee9e3d553e0f6c1/twig/88/883e46986c02dfdd8f9f455505c0a518ac77fe061ade490b5a1dfa6b05db5784.php line 45

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. /* @Storefront/storefront/component/feature.html.twig */
  14. class __TwigTemplate_e9efdca0f6983c1ca56f91762edecc5c 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->parent false;
  23.         $this->blocks = [
  24.             'component_head_feature' => [$this'block_component_head_feature'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/feature.html.twig"));
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/component/feature.html.twig"));
  34.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/component/feature.html.twig (vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig) -->";
  35.         // line 1
  36.         $this->displayBlock('component_head_feature'$context$blocks);
  37.         // line 0
  38.         echo "<!-- INCLUDE END @Storefront/storefront/component/feature.html.twig -->";
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     // line 1
  45.     public function block_component_head_feature($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_head_feature"));
  50.         // line 0
  51.         echo "<!-- BLOCK BEGIN component_head_feature (vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig) -->";
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_head_feature"));
  54.         // line 2
  55.         echo "    <script>
  56.         window.features = ";
  57.         // line 3
  58.         echo $this->env->getFilter('json_encode')->getCallable()($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->getAll());
  59.         echo ";
  60.     </script>
  61. ";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         // line 0
  65.         echo "<!-- BLOCK END component_head_feature -->";
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     public function getTemplateName()
  70.     {
  71.         return "@Storefront/storefront/component/feature.html.twig";
  72.     }
  73.     public function getDebugInfo()
  74.     {
  75.         return array (  80 => 0,  72 => 3,  69 => 2,  64 => 0,  57 => 1,  47 => 0,  45 => 1,);
  76.     }
  77.     public function getSourceContext()
  78.     {
  79.         return new Source("{% block component_head_feature %}
  80.     <script>
  81.         window.features = {{ getAllFeatures()|json_encode|raw }};
  82.     </script>
  83. {% endblock %}
  84. ""@Storefront/storefront/component/feature.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/component/feature.html.twig");
  85.     }
  86. }