*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "static/partials/search-results.html.twig")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "static/partials/search-results.html.twig")); // line 1 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::batch((isset($context["searchResults"]) || array_key_exists("searchResults", $context) ? $context["searchResults"] : (function () { throw new RuntimeError('Variable "searchResults" does not exist.', 1, $this->source); })()), 2, [])); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 2 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["row"]); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 3 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "url", [], "any", true, true, false, 3)) { // line 4 yield "
"; // line 14 if (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "title", [], "any", true, true, false, 14)) { // line 15 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "title", [], "any", false, false, false, 15), "html", null, true); yield " "; } else { // line 17 yield " Title here... "; } // line 19 yield "
{% if column.title is defined %} {{ column.title }} {% else %} Title here... {% endif %}