var/cache/dev/twig/cd/cd0f2d22d1ac814d0cd3ee171b816826.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @EasyAdmin/includes/_encore_link_tags.html.twig */
  16. class __TwigTemplate_19eeda6e6bc7dbe64e0c2da6c499b9e6 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/includes/_encore_link_tags.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/includes/_encore_link_tags.html.twig"));
  38.         // line 2
  39.         $context['_parent'] = $context;
  40.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["assets"]) || array_key_exists("assets"$context) ? $context["assets"] : (function () { throw new RuntimeError('Variable "assets" does not exist.'2$this->source); })()));
  41.         foreach ($context['_seq'] as $context["_key"] => $context["encore_asset"]) {
  42.             // line 3
  43.             yield "    ";
  44.             yield $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->callFunctionIfExists($this->env"encore_entry_link_tags"CoreExtension::getAttribute($this->env$this->source$context["encore_asset"], "value", [], "any"falsefalsefalse3), CoreExtension::getAttribute($this->env$this->source$context["encore_asset"], "webpackPackageName", [], "any"falsefalsefalse3), CoreExtension::getAttribute($this->env$this->source$context["encore_asset"], "webpackEntrypointName", [], "any"falsefalsefalse3), CoreExtension::getAttribute($this->env$this->source$context["encore_asset"], "htmlAttributes", [], "any"falsefalsefalse3));
  45.             yield "
  46. ";
  47.         }
  48.         $_parent $context['_parent'];
  49.         unset($context['_seq'], $context['_key'], $context['encore_asset'], $context['_parent']);
  50.         $context array_intersect_key($context$_parent) + $_parent;
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.         yield from [];
  56.     }
  57.     /**
  58.      * @codeCoverageIgnore
  59.      */
  60.     public function getTemplateName(): string
  61.     {
  62.         return "@EasyAdmin/includes/_encore_link_tags.html.twig";
  63.     }
  64.     /**
  65.      * @codeCoverageIgnore
  66.      */
  67.     public function isTraitable(): bool
  68.     {
  69.         return false;
  70.     }
  71.     /**
  72.      * @codeCoverageIgnore
  73.      */
  74.     public function getDebugInfo(): array
  75.     {
  76.         return array (  52 => 3,  48 => 2,);
  77.     }
  78.     public function getSourceContext(): Source
  79.     {
  80.         return new Source("{# @var assets \\EasyCorp\\Bundle\\EasyAdminBundle\\Dto\\AssetDto[] #}
  81. {% for encore_asset in assets %}
  82.     {{ ea_call_function_if_exists('encore_entry_link_tags', encore_asset.value, encore_asset.webpackPackageName, encore_asset.webpackEntrypointName, encore_asset.htmlAttributes) }}
  83. {% endfor %}
  84. ""@EasyAdmin/includes/_encore_link_tags.html.twig""/var/www/html/vendor/easycorp/easyadmin-bundle/src/Resources/views/includes/_encore_link_tags.html.twig");
  85.     }
  86. }