/
home
/
obinna
/
html
/
boazapp
/
var
/
cache
/
dev
/
twig
/
d1
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @WebProfiler/Collector/request.html.twig */ class __TwigTemplate_875295c8f193efe3d0c2ca40f81dc236e7748d16926a9e20e8934ca44cbf3fa9 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'toolbar' => [$this, 'block_toolbar'], 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], ]; } protected function doGetParent(array $context) { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } 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", "@WebProfiler/Collector/request.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/request.html.twig")); $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/request.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 public function block_toolbar($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(), "block", "toolbar")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar")); // line 4 yield " "; $macros["helper"] = $this; // line 5 yield " "; $context["request_handler"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 6 yield " "; yield CoreExtension::callMacro($macros["helper"], "macro_set_handler", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "controller", [], "any", false, false, false, 6)], 6, $context, $this->getSourceContext()); yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 8 yield " "; // line 9 if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 9, $this->source); })()), "redirect", [], "any", false, false, false, 9)) { // line 10 yield " "; $context["redirect_handler"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 11 yield " "; yield CoreExtension::callMacro($macros["helper"], "macro_set_handler", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "redirect", [], "any", false, false, false, 11), "controller", [], "any", false, false, false, 11), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "redirect", [], "any", false, false, false, 11), "route", [], "any", false, false, false, 11), (((0 !== CoreExtension::compare("GET", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "redirect", [], "any", false, false, false, 11), "method", [], "any", false, false, false, 11)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "redirect", [], "any", false, false, false, 11), "method", [], "any", false, false, false, 11)) : (""))], 11, $context, $this->getSourceContext()); yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 13 yield " "; } // line 14 yield " "; // line 15 if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 15, $this->source); })()), "forwardtoken", [], "any", false, false, false, 15)) { // line 16 yield " "; $context["forward_profile"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 16, $this->source); })()), "childByToken", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 16, $this->source); })()), "forwardtoken", [], "any", false, false, false, 16)], "method", false, false, false, 16); // line 17 yield " "; $context["forward_handler"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 18 yield " "; yield CoreExtension::callMacro($macros["helper"], "macro_set_handler", [(((isset($context["forward_profile"]) || array_key_exists("forward_profile", $context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.', 18, $this->source); })())) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["forward_profile"]) || array_key_exists("forward_profile", $context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.', 18, $this->source); })()), "collector", ["request"], "method", false, false, false, 18), "controller", [], "any", false, false, false, 18)) : ("n/a"))], 18, $context, $this->getSourceContext()); yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 20 yield " "; } // line 21 yield " "; // line 22 $context["request_status_code_color"] = (((0 <= CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 22, $this->source); })()), "statuscode", [], "any", false, false, false, 22), 400))) ? ("red") : ((((0 <= CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 22, $this->source); })()), "statuscode", [], "any", false, false, false, 22), 300))) ? ("yellow") : ("green")))); // line 23 yield " "; // line 24 $context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 25 yield " <span class=\"sf-toolbar-status sf-toolbar-status-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["request_status_code_color"]) || array_key_exists("request_status_code_color", $context) ? $context["request_status_code_color"] : (function () { throw new RuntimeError('Variable "request_status_code_color" does not exist.', 25, $this->source); })()), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 25, $this->source); })()), "statuscode", [], "any", false, false, false, 25), "html", null, true); yield "</span> "; // line 26 if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 26, $this->source); })()), "route", [], "any", false, false, false, 26)) { // line 27 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 27, $this->source); })()), "redirect", [], "any", false, false, false, 27)) { yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Icon/redirect.svg"); } // line 28 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 28, $this->source); })()), "forwardtoken", [], "any", false, false, false, 28)) { yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Icon/forward.svg"); } // line 29 yield " <span class=\"sf-toolbar-label\">"; (((0 !== CoreExtension::compare("GET", CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 29, $this->source); })()), "method", [], "any", false, false, false, 29)))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 29, $this->source); })()), "method", [], "any", false, false, false, 29), "html", null, true)) : (yield "")); yield " @</span> <span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">"; // line 30 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 30, $this->source); })()), "route", [], "any", false, false, false, 30), "html", null, true); yield "</span> "; } // line 32 yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 33 yield " "; // line 34 $context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 35 yield " <div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b>HTTP status</b> <span>"; // line 38 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 38, $this->source); })()), "statuscode", [], "any", false, false, false, 38), "html", null, true); yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 38, $this->source); })()), "statustext", [], "any", false, false, false, 38), "html", null, true); yield "</span> </div> "; // line 41 if ((0 !== CoreExtension::compare("GET", CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 41, $this->source); })()), "method", [], "any", false, false, false, 41)))) { // line 42 yield "<div class=\"sf-toolbar-info-piece\"> <b>Method</b> <span>"; // line 44 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 44, $this->source); })()), "method", [], "any", false, false, false, 44), "html", null, true); yield "</span> </div>"; } // line 47 yield " <div class=\"sf-toolbar-info-piece\"> <b>Controller</b> <span>"; // line 50 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["request_handler"]) || array_key_exists("request_handler", $context) ? $context["request_handler"] : (function () { throw new RuntimeError('Variable "request_handler" does not exist.', 50, $this->source); })()), "html", null, true); yield "</span> </div> <div class=\"sf-toolbar-info-piece\"> <b>Route name</b> <span>"; // line 55 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "route", [], "any", true, true, false, 55)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "route", [], "any", false, false, false, 55), "n/a")) : ("n/a")), "html", null, true); yield "</span> </div> <div class=\"sf-toolbar-info-piece\"> <b>Has session</b> <span>"; // line 60 if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 60, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 60))) { yield "yes"; } else { yield "no"; } yield "</span> </div> </div> "; // line 64 if (array_key_exists("redirect_handler", $context)) { // line 65 yield "<div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b> <span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">"; // line 68 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 68, $this->source); })()), "redirect", [], "any", false, false, false, 68), "status_code", [], "any", false, false, false, 68), "html", null, true); yield "</span> Redirect from </b> <span> "; // line 72 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["redirect_handler"]) || array_key_exists("redirect_handler", $context) ? $context["redirect_handler"] : (function () { throw new RuntimeError('Variable "redirect_handler" does not exist.', 72, $this->source); })()), "html", null, true); yield " (<a href=\""; // line 73 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 73, $this->source); })()), "redirect", [], "any", false, false, false, 73), "token", [], "any", false, false, false, 73)]), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 73, $this->source); })()), "redirect", [], "any", false, false, false, 73), "token", [], "any", false, false, false, 73), "html", null, true); yield "</a>) </span> </div> </div> "; } // line 78 yield " "; // line 79 if (array_key_exists("forward_handler", $context)) { // line 80 yield " <div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b>Forwarded to</b> <span> "; // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["forward_handler"]) || array_key_exists("forward_handler", $context) ? $context["forward_handler"] : (function () { throw new RuntimeError('Variable "forward_handler" does not exist.', 84, $this->source); })()), "html", null, true); yield " (<a href=\""; // line 85 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 85, $this->source); })()), "forwardtoken", [], "any", false, false, false, 85)]), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 85, $this->source); })()), "forwardtoken", [], "any", false, false, false, 85), "html", null, true); yield "</a>) </span> </div> </div> "; } // line 90 yield " "; return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); // line 91 yield " "; // line 92 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 92, $this->source); })())]); yield " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } // line 95 public function block_menu($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(), "block", "menu")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 96 yield " <span class=\"label\"> <span class=\"icon\">"; // line 97 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Icon/request.svg"); yield "</span> <strong>Request / Response</strong> </span> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } // line 102 public function block_panel($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(), "block", "panel")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 103 yield " "; $macros["helper"] = $this; // line 104 yield " <h2> "; // line 106 yield CoreExtension::callMacro($macros["helper"], "macro_set_handler", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 106, $this->source); })()), "controller", [], "any", false, false, false, 106)], 106, $context, $this->getSourceContext()); yield " </h2> <div class=\"sf-tabs\"> <div class=\"tab\"> <h3 class=\"tab-title\">Request</h3> <div class=\"tab-content\"> <h3>GET Parameters</h3> "; // line 116 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 116, $this->source); })()), "requestquery", [], "any", false, false, false, 116), "all", [], "any", false, false, false, 116))) { // line 117 yield " <div class=\"empty\"> <p>No GET parameters</p> </div> "; } else { // line 121 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 121, $this->source); })()), "requestquery", [], "any", false, false, false, 121), "maxDepth" => 1], false); yield " "; } // line 123 yield " <h3>POST Parameters</h3> "; // line 126 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 126, $this->source); })()), "requestrequest", [], "any", false, false, false, 126), "all", [], "any", false, false, false, 126))) { // line 127 yield " <div class=\"empty\"> <p>No POST parameters</p> </div> "; } else { // line 131 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 131, $this->source); })()), "requestrequest", [], "any", false, false, false, 131), "maxDepth" => 1], false); yield " "; } // line 133 yield " <h4>Uploaded Files</h4> "; // line 136 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 136, $this->source); })()), "requestfiles", [], "any", false, false, false, 136))) { // line 137 yield " <div class=\"empty\"> <p>No files were uploaded</p> </div> "; } else { // line 141 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 141, $this->source); })()), "requestfiles", [], "any", false, false, false, 141), "maxDepth" => 1], false); yield " "; } // line 143 yield " <h3>Request Attributes</h3> "; // line 146 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 146, $this->source); })()), "requestattributes", [], "any", false, false, false, 146), "all", [], "any", false, false, false, 146))) { // line 147 yield " <div class=\"empty\"> <p>No attributes</p> </div> "; } else { // line 151 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 151, $this->source); })()), "requestattributes", [], "any", false, false, false, 151)], false); yield " "; } // line 153 yield " <h3>Request Headers</h3> "; // line 155 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 155, $this->source); })()), "requestheaders", [], "any", false, false, false, 155), "labels" => ["Header", "Value"], "maxDepth" => 1], false); yield " <h3>Request Content</h3> "; // line 159 if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 159, $this->source); })()), "content", [], "any", false, false, false, 159), false))) { // line 160 yield " <div class=\"empty\"> <p>Request content not available (it was retrieved as a resource).</p> </div> "; } elseif (CoreExtension::getAttribute($this->env, $this->source, // line 163 (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 163, $this->source); })()), "content", [], "any", false, false, false, 163)) { // line 164 yield " <div class=\"sf-tabs\"> "; // line 165 $context["prettyJson"] = ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 165, $this->source); })()), "isJsonRequest", [], "any", false, false, false, 165)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 165, $this->source); })()), "prettyJson", [], "any", false, false, false, 165)) : (null)); // line 166 yield " "; if ( !(null === (isset($context["prettyJson"]) || array_key_exists("prettyJson", $context) ? $context["prettyJson"] : (function () { throw new RuntimeError('Variable "prettyJson" does not exist.', 166, $this->source); })()))) { // line 167 yield " <div class=\"tab\"> <h3 class=\"tab-title\">Pretty</h3> <div class=\"tab-content\"> <div class=\"card\" style=\"max-height: 500px; overflow-y: auto;\"> <pre class=\"break-long-words\">"; // line 171 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prettyJson"]) || array_key_exists("prettyJson", $context) ? $context["prettyJson"] : (function () { throw new RuntimeError('Variable "prettyJson" does not exist.', 171, $this->source); })()), "html", null, true); yield "</pre> </div> </div> </div> "; } // line 176 yield " <div class=\"tab\"> <h3 class=\"tab-title\">Raw</h3> <div class=\"tab-content\"> <div class=\"card\"> <pre class=\"break-long-words\">"; // line 181 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 181, $this->source); })()), "content", [], "any", false, false, false, 181), "html", null, true); yield "</pre> </div> </div> </div> </div> "; } else { // line 187 yield " <div class=\"empty\"> <p>No content</p> </div> "; } // line 191 yield " </div> </div> <div class=\"tab\"> <h3 class=\"tab-title\">Response</h3> <div class=\"tab-content\"> <h3>Response Headers</h3> "; // line 200 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 200, $this->source); })()), "responseheaders", [], "any", false, false, false, 200), "labels" => ["Header", "Value"], "maxDepth" => 1], false); yield " </div> </div> <div class=\"tab "; // line 204 yield (((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 204, $this->source); })()), "requestcookies", [], "any", false, false, false, 204), "all", [], "any", false, false, false, 204)) && Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 204, $this->source); })()), "responsecookies", [], "any", false, false, false, 204), "all", [], "any", false, false, false, 204)))) ? ("disabled") : ("")); yield "\"> <h3 class=\"tab-title\">Cookies</h3> <div class=\"tab-content\"> <h3>Request Cookies</h3> "; // line 210 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 210, $this->source); })()), "requestcookies", [], "any", false, false, false, 210), "all", [], "any", false, false, false, 210))) { // line 211 yield " <div class=\"empty\"> <p>No request cookies</p> </div> "; } else { // line 215 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 215, $this->source); })()), "requestcookies", [], "any", false, false, false, 215)], false); yield " "; } // line 217 yield " <h3>Response Cookies</h3> "; // line 220 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 220, $this->source); })()), "responsecookies", [], "any", false, false, false, 220), "all", [], "any", false, false, false, 220))) { // line 221 yield " <div class=\"empty\"> <p>No response cookies</p> </div> "; } else { // line 225 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 225, $this->source); })()), "responsecookies", [], "any", false, false, false, 225)], true); yield " "; } // line 227 yield " </div> </div> <div class=\"tab "; // line 230 yield ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 230, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 230))) ? ("disabled") : ("")); yield "\"> <h3 class=\"tab-title\">Session</h3> <div class=\"tab-content\"> <h3>Session Metadata</h3> "; // line 236 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 236, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 236))) { // line 237 yield " <div class=\"empty\"> <p>No session metadata</p> </div> "; } else { // line 241 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 241, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 241)], false); yield " "; } // line 243 yield " <h3>Session Attributes</h3> "; // line 246 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 246, $this->source); })()), "sessionattributes", [], "any", false, false, false, 246))) { // line 247 yield " <div class=\"empty\"> <p>No session attributes</p> </div> "; } else { // line 251 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 251, $this->source); })()), "sessionattributes", [], "any", false, false, false, 251), "labels" => ["Attribute", "Value"]], false); yield " "; } // line 253 yield " </div> </div> <div class=\"tab "; // line 256 yield ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 256, $this->source); })()), "flashes", [], "any", false, false, false, 256))) ? ("disabled") : ("")); yield "\"> <h3 class=\"tab-title\">Flashes</h3> <div class=\"tab-content\"> <h3>Flashes</h3> "; // line 262 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 262, $this->source); })()), "flashes", [], "any", false, false, false, 262))) { // line 263 yield " <div class=\"empty\"> <p>No flash messages were created.</p> </div> "; } else { // line 267 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 267, $this->source); })()), "flashes", [], "any", false, false, false, 267)], false); yield " "; } // line 269 yield " </div> </div> <div class=\"tab\"> <h3 class=\"tab-title\">Server Parameters</h3> <div class=\"tab-content\"> <h3>Server Parameters</h3> <h4>Defined in .env</h4> "; // line 277 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 277, $this->source); })()), "dotenvvars", [], "any", false, false, false, 277)], false); yield " <h4>Defined as regular env variables</h4> "; // line 280 $context["requestserver"] = []; // line 281 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 281, $this->source); })()), "requestserver", [], "any", false, false, false, 281), function ($_____, $__key__) use ($context, $macros) { $context["_"] = $_____; $context["key"] = $__key__; return !CoreExtension::inFilter($context["key"], CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 281, $this->source); })()), "dotenvvars", [], "any", false, false, false, 281), "keys", [], "any", false, false, false, 281)); })); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 282 yield " "; $context["requestserver"] = Twig\Extension\CoreExtension::merge((isset($context["requestserver"]) || array_key_exists("requestserver", $context) ? $context["requestserver"] : (function () { throw new RuntimeError('Variable "requestserver" does not exist.', 282, $this->source); })()), [$context["key"] => $context["value"]]); // line 283 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 284 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => (isset($context["requestserver"]) || array_key_exists("requestserver", $context) ? $context["requestserver"] : (function () { throw new RuntimeError('Variable "requestserver" does not exist.', 284, $this->source); })())], false); yield " </div> </div> "; // line 288 if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 288, $this->source); })()), "parent", [], "any", false, false, false, 288)) { // line 289 yield " <div class=\"tab\"> <h3 class=\"tab-title\">Parent Request</h3> <div class=\"tab-content\"> <h3> <a href=\""; // line 294 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 294, $this->source); })()), "parent", [], "any", false, false, false, 294), "token", [], "any", false, false, false, 294)]), "html", null, true); yield "\">Return to parent request</a> <small>(token = "; // line 295 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 295, $this->source); })()), "parent", [], "any", false, false, false, 295), "token", [], "any", false, false, false, 295), "html", null, true); yield ")</small> </h3> "; // line 298 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 298, $this->source); })()), "parent", [], "any", false, false, false, 298), "getcollector", ["request"], "method", false, false, false, 298), "requestattributes", [], "any", false, false, false, 298)], false); yield " </div> </div> "; } // line 302 yield " "; // line 303 if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 303, $this->source); })()), "children", [], "any", false, false, false, 303))) { // line 304 yield " <div class=\"tab\"> <h3 class=\"tab-title\">Sub Requests <span class=\"badge\">"; // line 305 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 305, $this->source); })()), "children", [], "any", false, false, false, 305)), "html", null, true); yield "</span></h3> <div class=\"tab-content\"> "; // line 308 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 308, $this->source); })()), "children", [], "any", false, false, false, 308)); foreach ($context['_seq'] as $context["_key"] => $context["child"]) { // line 309 yield " <h3> "; // line 310 yield CoreExtension::callMacro($macros["helper"], "macro_set_handler", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["child"], "getcollector", ["request"], "method", false, false, false, 310), "controller", [], "any", false, false, false, 310)], 310, $context, $this->getSourceContext()); yield " <small>(token = <a href=\""; // line 311 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => CoreExtension::getAttribute($this->env, $this->source, $context["child"], "token", [], "any", false, false, false, 311)]), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["child"], "token", [], "any", false, false, false, 311), "html", null, true); yield "</a>)</small> </h3> "; // line 314 yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["child"], "getcollector", ["request"], "method", false, false, false, 314), "requestattributes", [], "any", false, false, false, 314)], false); yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 316 yield " </div> </div> "; } // line 319 yield " </div> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; } // line 322 public function macro_set_handler($__controller__ = null, $__route__ = null, $__method__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "controller" => $__controller__, "route" => $__route__, "method" => $__method__, "varargs" => $__varargs__, ]); $blocks = []; return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "set_handler")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "set_handler")); // line 323 yield " "; if (CoreExtension::getAttribute($this->env, $this->source, ($context["controller"] ?? null), "class", [], "any", true, true, false, 323)) { // line 324 if (((array_key_exists("method", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 324, $this->source); })()), false)) : (false))) { yield "<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 324, $this->source); })()), "html", null, true); yield "</span>"; } // line 325 $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 325, $this->source); })()), "file", [], "any", false, false, false, 325), CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 325, $this->source); })()), "line", [], "any", false, false, false, 325)); // line 326 if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 326, $this->source); })())) { yield "<a href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 326, $this->source); })()), "html", null, true); yield "\" title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 326, $this->source); })()), "class", [], "any", false, false, false, 326), "html", null, true); yield "\">"; } else { yield "<span title=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 326, $this->source); })()), "class", [], "any", false, false, false, 326), "html", null, true); yield "\">"; } // line 328 if (((array_key_exists("route", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 328, $this->source); })()), false)) : (false))) { // line 329 yield "@"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 329, $this->source); })()), "html", null, true); } else { // line 331 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 331, $this->source); })()), "class", [], "any", false, false, false, 331))), "html", null, true); // line 332 ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 332, $this->source); })()), "method", [], "any", false, false, false, 332)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" :: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 332, $this->source); })()), "method", [], "any", false, false, false, 332)), "html", null, true)) : (yield "")); } // line 335 if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 335, $this->source); })())) { yield "</a>"; } else { yield "</span>"; } } else { // line 337 yield "<span>"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("route", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 337, $this->source); })()), (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 337, $this->source); })()))) : ((isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 337, $this->source); })()))), "html", null, true); yield "</span>"; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); return; yield ''; })())) ? '' : new Markup($tmp, $this->env->getCharset()); } /** * @codeCoverageIgnore */ public function getTemplateName() { return "@WebProfiler/Collector/request.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 813 => 337, 806 => 335, 803 => 332, 801 => 331, 797 => 329, 795 => 328, 783 => 326, 781 => 325, 775 => 324, 772 => 323, 752 => 322, 740 => 319, 735 => 316, 727 => 314, 719 => 311, 715 => 310, 712 => 309, 708 => 308, 702 => 305, 699 => 304, 697 => 303, 694 => 302, 687 => 298, 681 => 295, 677 => 294, 670 => 289, 668 => 288, 660 => 284, 654 => 283, 651 => 282, 646 => 281, 644 => 280, 638 => 277, 628 => 269, 622 => 267, 616 => 263, 614 => 262, 605 => 256, 600 => 253, 594 => 251, 588 => 247, 586 => 246, 581 => 243, 575 => 241, 569 => 237, 567 => 236, 558 => 230, 553 => 227, 547 => 225, 541 => 221, 539 => 220, 534 => 217, 528 => 215, 522 => 211, 520 => 210, 511 => 204, 504 => 200, 493 => 191, 487 => 187, 478 => 181, 471 => 176, 463 => 171, 457 => 167, 454 => 166, 452 => 165, 449 => 164, 447 => 163, 442 => 160, 440 => 159, 433 => 155, 429 => 153, 423 => 151, 417 => 147, 415 => 146, 410 => 143, 404 => 141, 398 => 137, 396 => 136, 391 => 133, 385 => 131, 379 => 127, 377 => 126, 372 => 123, 366 => 121, 360 => 117, 358 => 116, 345 => 106, 341 => 104, 338 => 103, 328 => 102, 313 => 97, 310 => 96, 300 => 95, 287 => 92, 284 => 91, 280 => 90, 270 => 85, 266 => 84, 260 => 80, 258 => 79, 255 => 78, 245 => 73, 241 => 72, 234 => 68, 229 => 65, 227 => 64, 216 => 60, 208 => 55, 200 => 50, 195 => 47, 190 => 44, 186 => 42, 184 => 41, 176 => 38, 171 => 35, 169 => 34, 166 => 33, 162 => 32, 157 => 30, 152 => 29, 147 => 28, 142 => 27, 140 => 26, 133 => 25, 131 => 24, 128 => 23, 126 => 22, 123 => 21, 120 => 20, 113 => 18, 110 => 17, 107 => 16, 105 => 15, 102 => 14, 99 => 13, 92 => 11, 89 => 10, 87 => 9, 84 => 8, 77 => 6, 74 => 5, 71 => 4, 61 => 3, 38 => 1,); } public function getSourceContext() { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% import _self as helper %} {% set request_handler %} {{ helper.set_handler(collector.controller) }} {% endset %} {% if collector.redirect %} {% set redirect_handler %} {{ helper.set_handler(collector.redirect.controller, collector.redirect.route, 'GET' != collector.redirect.method ? collector.redirect.method) }} {% endset %} {% endif %} {% if collector.forwardtoken %} {% set forward_profile = profile.childByToken(collector.forwardtoken) %} {% set forward_handler %} {{ helper.set_handler(forward_profile ? forward_profile.collector('request').controller : 'n/a') }} {% endset %} {% endif %} {% set request_status_code_color = (collector.statuscode >= 400) ? 'red' : (collector.statuscode >= 300) ? 'yellow' : 'green' %} {% set icon %} <span class=\"sf-toolbar-status sf-toolbar-status-{{ request_status_code_color }}\">{{ collector.statuscode }}</span> {% if collector.route %} {% if collector.redirect %}{{ include('@WebProfiler/Icon/redirect.svg') }}{% endif %} {% if collector.forwardtoken %}{{ include('@WebProfiler/Icon/forward.svg') }}{% endif %} <span class=\"sf-toolbar-label\">{{ 'GET' != collector.method ? collector.method }} @</span> <span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">{{ collector.route }}</span> {% endif %} {% endset %} {% set text %} <div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b>HTTP status</b> <span>{{ collector.statuscode }} {{ collector.statustext }}</span> </div> {% if 'GET' != collector.method -%} <div class=\"sf-toolbar-info-piece\"> <b>Method</b> <span>{{ collector.method }}</span> </div> {%- endif %} <div class=\"sf-toolbar-info-piece\"> <b>Controller</b> <span>{{ request_handler }}</span> </div> <div class=\"sf-toolbar-info-piece\"> <b>Route name</b> <span>{{ collector.route|default('n/a') }}</span> </div> <div class=\"sf-toolbar-info-piece\"> <b>Has session</b> <span>{% if collector.sessionmetadata|length %}yes{% else %}no{% endif %}</span> </div> </div> {% if redirect_handler is defined -%} <div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b> <span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">{{ collector.redirect.status_code }}</span> Redirect from </b> <span> {{ redirect_handler }} (<a href=\"{{ path('_profiler', { token: collector.redirect.token }) }}\">{{ collector.redirect.token }}</a>) </span> </div> </div> {% endif %} {% if forward_handler is defined %} <div class=\"sf-toolbar-info-group\"> <div class=\"sf-toolbar-info-piece\"> <b>Forwarded to</b> <span> {{ forward_handler }} (<a href=\"{{ path('_profiler', { token: collector.forwardtoken }) }}\">{{ collector.forwardtoken }}</a>) </span> </div> </div> {% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }} {% endblock %} {% block menu %} <span class=\"label\"> <span class=\"icon\">{{ include('@WebProfiler/Icon/request.svg') }}</span> <strong>Request / Response</strong> </span> {% endblock %} {% block panel %} {% import _self as helper %} <h2> {{ helper.set_handler(collector.controller) }} </h2> <div class=\"sf-tabs\"> <div class=\"tab\"> <h3 class=\"tab-title\">Request</h3> <div class=\"tab-content\"> <h3>GET Parameters</h3> {% if collector.requestquery.all is empty %} <div class=\"empty\"> <p>No GET parameters</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestquery, maxDepth: 1 }, with_context = false) }} {% endif %} <h3>POST Parameters</h3> {% if collector.requestrequest.all is empty %} <div class=\"empty\"> <p>No POST parameters</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestrequest, maxDepth: 1 }, with_context = false) }} {% endif %} <h4>Uploaded Files</h4> {% if collector.requestfiles is empty %} <div class=\"empty\"> <p>No files were uploaded</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestfiles, maxDepth: 1 }, with_context = false) }} {% endif %} <h3>Request Attributes</h3> {% if collector.requestattributes.all is empty %} <div class=\"empty\"> <p>No attributes</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestattributes }, with_context = false) }} {% endif %} <h3>Request Headers</h3> {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestheaders, labels: ['Header', 'Value'], maxDepth: 1 }, with_context = false) }} <h3>Request Content</h3> {% if collector.content == false %} <div class=\"empty\"> <p>Request content not available (it was retrieved as a resource).</p> </div> {% elseif collector.content %} <div class=\"sf-tabs\"> {% set prettyJson = collector.isJsonRequest ? collector.prettyJson : null %} {% if prettyJson is not null %} <div class=\"tab\"> <h3 class=\"tab-title\">Pretty</h3> <div class=\"tab-content\"> <div class=\"card\" style=\"max-height: 500px; overflow-y: auto;\"> <pre class=\"break-long-words\">{{ prettyJson }}</pre> </div> </div> </div> {% endif %} <div class=\"tab\"> <h3 class=\"tab-title\">Raw</h3> <div class=\"tab-content\"> <div class=\"card\"> <pre class=\"break-long-words\">{{ collector.content }}</pre> </div> </div> </div> </div> {% else %} <div class=\"empty\"> <p>No content</p> </div> {% endif %} </div> </div> <div class=\"tab\"> <h3 class=\"tab-title\">Response</h3> <div class=\"tab-content\"> <h3>Response Headers</h3> {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.responseheaders, labels: ['Header', 'Value'], maxDepth: 1 }, with_context = false) }} </div> </div> <div class=\"tab {{ collector.requestcookies.all is empty and collector.responsecookies.all is empty ? 'disabled' }}\"> <h3 class=\"tab-title\">Cookies</h3> <div class=\"tab-content\"> <h3>Request Cookies</h3> {% if collector.requestcookies.all is empty %} <div class=\"empty\"> <p>No request cookies</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestcookies }, with_context = false) }} {% endif %} <h3>Response Cookies</h3> {% if collector.responsecookies.all is empty %} <div class=\"empty\"> <p>No response cookies</p> </div> {% else %} {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.responsecookies }, with_context = true) }} {% endif %} </div> </div> <div class=\"tab {{ collector.sessionmetadata is empty ? 'disabled' }}\"> <h3 class=\"tab-title\">Session</h3> <div class=\"tab-content\"> <h3>Session Metadata</h3> {% if collector.sessionmetadata is empty %} <div class=\"empty\"> <p>No session metadata</p> </div> {% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionmetadata }, with_context = false) }} {% endif %} <h3>Session Attributes</h3> {% if collector.sessionattributes is empty %} <div class=\"empty\"> <p>No session attributes</p> </div> {% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionattributes, labels: ['Attribute', 'Value'] }, with_context = false) }} {% endif %} </div> </div> <div class=\"tab {{ collector.flashes is empty ? 'disabled' }}\"> <h3 class=\"tab-title\">Flashes</h3> <div class=\"tab-content\"> <h3>Flashes</h3> {% if collector.flashes is empty %} <div class=\"empty\"> <p>No flash messages were created.</p> </div> {% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.flashes }, with_context = false) }} {% endif %} </div> </div> <div class=\"tab\"> <h3 class=\"tab-title\">Server Parameters</h3> <div class=\"tab-content\"> <h3>Server Parameters</h3> <h4>Defined in .env</h4> {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.dotenvvars }, with_context = false) }} <h4>Defined as regular env variables</h4> {% set requestserver = [] %} {% for key, value in collector.requestserver|filter((_, key) => key not in collector.dotenvvars.keys) %} {% set requestserver = requestserver|merge({(key): value}) %} {% endfor %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: requestserver }, with_context = false) }} </div> </div> {% if profile.parent %} <div class=\"tab\"> <h3 class=\"tab-title\">Parent Request</h3> <div class=\"tab-content\"> <h3> <a href=\"{{ path('_profiler', { token: profile.parent.token }) }}\">Return to parent request</a> <small>(token = {{ profile.parent.token }})</small> </h3> {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: profile.parent.getcollector('request').requestattributes }, with_context = false) }} </div> </div> {% endif %} {% if profile.children|length %} <div class=\"tab\"> <h3 class=\"tab-title\">Sub Requests <span class=\"badge\">{{ profile.children|length }}</span></h3> <div class=\"tab-content\"> {% for child in profile.children %} <h3> {{ helper.set_handler(child.getcollector('request').controller) }} <small>(token = <a href=\"{{ path('_profiler', { token: child.token }) }}\">{{ child.token }}</a>)</small> </h3> {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: child.getcollector('request').requestattributes }, with_context = false) }} {% endfor %} </div> </div> {% endif %} </div> {% endblock %} {% macro set_handler(controller, route, method) %} {% if controller.class is defined -%} {%- if method|default(false) %}<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">{{ method }}</span>{% endif -%} {%- set link = controller.file|file_link(controller.line) %} {%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.class }}\">{% else %}<span title=\"{{ controller.class }}\">{% endif %} {%- if route|default(false) -%} @{{ route }} {%- else -%} {{- controller.class|abbr_class|striptags -}} {{- controller.method ? ' :: ' ~ controller.method -}} {%- endif -%} {%- if link %}</a>{% else %}</span>{% endif %} {%- else -%} <span>{{ route|default(controller) }}</span> {%- endif %} {% endmacro %} ", "@WebProfiler/Collector/request.html.twig", "/var/www/html/boazapp/vendor/symfony/web-profiler-bundle/Resources/views/Collector/request.html.twig"); } }