source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/includes/_css_assets.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/includes/_css_assets.html.twig")); // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["assets"]) || array_key_exists("assets", $context) ? $context["assets"] : (function () { throw new RuntimeError('Variable "assets" does not exist.', 2, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["css_asset"]) { // line 3 echo " "; if (twig_get_attribute($this->env, $this->source, $context["css_asset"], "preload", [], "any", false, false, false, 3)) { // line 4 echo " extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->callFunctionIfExists($this->env, "preload", $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["css_asset"], "value", [], "any", false, false, false, 4), twig_get_attribute($this->env, $this->source, $context["css_asset"], "packageName", [], "any", false, false, false, 4)), ["as" => "style", "nopush" => twig_get_attribute($this->env, $this->source, $context["css_asset"], "nopush", [], "any", false, false, false, 4)]); echo "\" "; // line 5 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["css_asset"], "htmlAttributes", [], "any", false, false, false, 5)); foreach ($context['_seq'] as $context["attr"] => $context["value"]) { echo twig_escape_filter($this->env, $context["attr"], "html", null, true); echo "=\""; echo twig_escape_filter($this->env, $context["value"], "html_attr"); echo "\" "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['attr'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; echo "> "; } else { // line 7 echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["css_asset"], "value", [], "any", false, false, false, 7), twig_get_attribute($this->env, $this->source, $context["css_asset"], "packageName", [], "any", false, false, false, 7)), "html", null, true); echo "\" "; // line 8 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["css_asset"], "htmlAttributes", [], "any", false, false, false, 8)); foreach ($context['_seq'] as $context["attr"] => $context["value"]) { echo twig_escape_filter($this->env, $context["attr"], "html", null, true); echo "=\""; echo twig_escape_filter($this->env, $context["value"], "html_attr"); echo "\" "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['attr'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; echo "> "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['css_asset'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "@EasyAdmin/includes/_css_assets.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 75 => 8, 70 => 7, 55 => 5, 50 => 4, 47 => 3, 43 => 2,); } public function getSourceContext() { return new Source("{# @var assets \\EasyCorp\\Bundle\\EasyAdminBundle\\Dto\\AssetDto[] #} {% for css_asset in assets %} {% if css_asset.preload %} {% else %} {% endif %} {% endfor %} ", "@EasyAdmin/includes/_css_assets.html.twig", "/home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/easycorp/easyadmin-bundle/src/Resources/views/includes/_css_assets.html.twig"); } }