469 lines
28 KiB
PHP
469 lines
28 KiB
PHP
<?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;
|
|
use Twig\TemplateWrapper;
|
|
|
|
/* @WebProfiler/Profiler/layout.html.twig */
|
|
class __TwigTemplate_d45b84db961e34048b91d2d283db6813 extends Template
|
|
{
|
|
private Source $source;
|
|
/**
|
|
* @var array<string, Template>
|
|
*/
|
|
private array $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->blocks = [
|
|
'body' => [$this, 'block_body'],
|
|
'summary' => [$this, 'block_summary'],
|
|
'sidebar' => [$this, 'block_sidebar'],
|
|
'sidebar_shortcuts_links' => [$this, 'block_sidebar_shortcuts_links'],
|
|
'panel' => [$this, 'block_panel'],
|
|
];
|
|
}
|
|
|
|
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
|
{
|
|
// line 1
|
|
return "@WebProfiler/Profiler/base.html.twig";
|
|
}
|
|
|
|
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", "@WebProfiler/Profiler/layout.html.twig"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/layout.html.twig"));
|
|
|
|
$this->parent = $this->load("@WebProfiler/Profiler/base.html.twig", 1);
|
|
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 3
|
|
/**
|
|
* @return iterable<null|scalar|\Stringable>
|
|
*/
|
|
public function block_body(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(), "block", "body"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
|
|
|
|
// line 4
|
|
yield " <div class=\"container\">
|
|
";
|
|
// line 5
|
|
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/header.html.twig", ["profile_type" => (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 5, $this->source); })())], false);
|
|
yield "
|
|
|
|
<div id=\"summary\">
|
|
";
|
|
// line 8
|
|
yield from $this->unwrap()->yieldBlock('summary', $context, $blocks);
|
|
// line 21
|
|
yield " </div>
|
|
|
|
<div id=\"content\">
|
|
<div id=\"main\">
|
|
<div id=\"sidebar\">
|
|
";
|
|
// line 26
|
|
yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
|
|
// line 65
|
|
yield " </div>
|
|
|
|
<div id=\"collector-wrapper\">
|
|
<div id=\"collector-content\">
|
|
";
|
|
// line 69
|
|
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/base_js.html.twig");
|
|
yield "
|
|
";
|
|
// line 70
|
|
yield from $this->unwrap()->yieldBlock('panel', $context, $blocks);
|
|
// line 71
|
|
yield " </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 8
|
|
/**
|
|
* @return iterable<null|scalar|\Stringable>
|
|
*/
|
|
public function block_summary(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(), "block", "summary"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "summary"));
|
|
|
|
// line 9
|
|
yield " ";
|
|
if (array_key_exists("profile", $context)) {
|
|
// line 10
|
|
yield " ";
|
|
$context["request_collector"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["profile"] ?? null), "collectors", [], "any", false, true, false, 10), "request", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(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.', 10, $this->source); })()), "collectors", [], "any", false, false, false, 10), "request", [], "any", false, false, false, 10), false)) : (false));
|
|
// line 11
|
|
yield "
|
|
";
|
|
// line 12
|
|
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\CoreExtension::sprintf("@WebProfiler/Profiler/_%s_summary.html.twig", (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 12, $this->source); })())), ["profile" => // line 13
|
|
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 13, $this->source); })()), "command_collector" => ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 14
|
|
($context["profile"] ?? null), "collectors", [], "any", false, true, false, 14), "command", [], "any", true, true, false, 14)) ? (Twig\Extension\CoreExtension::default(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.', 14, $this->source); })()), "collectors", [], "any", false, false, false, 14), "command", [], "any", false, false, false, 14), false)) : (false)), "request_collector" => // line 15
|
|
(isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 15, $this->source); })()), "request" => // line 16
|
|
(isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 16, $this->source); })()), "token" => // line 17
|
|
(isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 17, $this->source); })())], false);
|
|
// line 18
|
|
yield "
|
|
";
|
|
}
|
|
// line 20
|
|
yield " ";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 26
|
|
/**
|
|
* @return iterable<null|scalar|\Stringable>
|
|
*/
|
|
public function block_sidebar(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(), "block", "sidebar"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
|
|
|
|
// line 27
|
|
yield " <div id=\"sidebar-contents\">
|
|
<div id=\"sidebar-shortcuts\">
|
|
";
|
|
// line 29
|
|
yield from $this->unwrap()->yieldBlock('sidebar_shortcuts_links', $context, $blocks);
|
|
// line 35
|
|
yield " </div>
|
|
|
|
";
|
|
// line 37
|
|
if (array_key_exists("templates", $context)) {
|
|
// line 38
|
|
yield " <ul id=\"menu-profiler\">
|
|
";
|
|
// line 39
|
|
if (("request" === (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 39, $this->source); })()))) {
|
|
// line 40
|
|
yield " ";
|
|
$context["excludes"] = ["command"];
|
|
// line 41
|
|
yield " ";
|
|
} elseif (("command" === (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 41, $this->source); })()))) {
|
|
// line 42
|
|
yield " ";
|
|
$context["excludes"] = ["request", "router"];
|
|
// line 43
|
|
yield " ";
|
|
}
|
|
// line 44
|
|
yield "
|
|
";
|
|
// line 45
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, (isset($context["templates"]) || array_key_exists("templates", $context) ? $context["templates"] : (function () { throw new RuntimeError('Variable "templates" does not exist.', 45, $this->source); })()), function ($__t__, $__n__) use ($context, $macros) { $context["t"] = $__t__; $context["n"] = $__n__; return !CoreExtension::inFilter((isset($context["n"]) || array_key_exists("n", $context) ? $context["n"] : (function () { throw new RuntimeError('Variable "n" does not exist.', 45, $this->source); })()), (isset($context["excludes"]) || array_key_exists("excludes", $context) ? $context["excludes"] : (function () { throw new RuntimeError('Variable "excludes" does not exist.', 45, $this->source); })())); }));
|
|
$context['loop'] = [
|
|
'parent' => $context['_parent'],
|
|
'index0' => 0,
|
|
'index' => 1,
|
|
'first' => true,
|
|
];
|
|
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
|
$length = count($context['_seq']);
|
|
$context['loop']['revindex0'] = $length - 1;
|
|
$context['loop']['revindex'] = $length;
|
|
$context['loop']['length'] = $length;
|
|
$context['loop']['last'] = 1 === $length;
|
|
}
|
|
foreach ($context['_seq'] as $context["name"] => $context["template"]) {
|
|
// line 46
|
|
yield " ";
|
|
$context["menu"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
|
// line 47
|
|
if ( $this->load($context["template"], 47)->unwrap()->hasBlock("menu", $context)) {
|
|
// line 48
|
|
$_v0 = $context;
|
|
$_v1 = ["collector" => 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.', 48, $this->source); })()), "getcollector", [$context["name"]], "method", false, false, false, 48), "profiler_markup_version" => (isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.', 48, $this->source); })())];
|
|
if (!is_iterable($_v1)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 48, $this->getSourceContext());
|
|
}
|
|
$_v1 = CoreExtension::toArray($_v1);
|
|
$context = $_v1 + $context + $this->env->getGlobals();
|
|
// line 49
|
|
yield from $this->load($context["template"], 49)->unwrap()->yieldBlock("menu", $context);
|
|
$context = $_v0;
|
|
}
|
|
yield from [];
|
|
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 53
|
|
yield " ";
|
|
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty((isset($context["menu"]) || array_key_exists("menu", $context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.', 53, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 54
|
|
yield " <li class=\"";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
|
yield " ";
|
|
yield ((($context["name"] == (isset($context["panel"]) || array_key_exists("panel", $context) ? $context["panel"] : (function () { throw new RuntimeError('Variable "panel" does not exist.', 54, $this->source); })()))) ? ("selected") : (""));
|
|
yield "\">
|
|
<a href=\"";
|
|
// line 55
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 55, $this->source); })()), "panel" => $context["name"], "type" => (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 55, $this->source); })())]), "html", null, true);
|
|
yield "\">";
|
|
yield (isset($context["menu"]) || array_key_exists("menu", $context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.', 55, $this->source); })());
|
|
yield "</a>
|
|
</li>
|
|
";
|
|
}
|
|
// line 58
|
|
yield " ";
|
|
++$context['loop']['index0'];
|
|
++$context['loop']['index'];
|
|
$context['loop']['first'] = false;
|
|
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
|
|
--$context['loop']['revindex0'];
|
|
--$context['loop']['revindex'];
|
|
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
|
}
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 59
|
|
yield " </ul>
|
|
";
|
|
}
|
|
// line 61
|
|
yield " </div>
|
|
|
|
";
|
|
// line 63
|
|
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/settings.html.twig");
|
|
yield "
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 29
|
|
/**
|
|
* @return iterable<null|scalar|\Stringable>
|
|
*/
|
|
public function block_sidebar_shortcuts_links(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(), "block", "sidebar_shortcuts_links"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar_shortcuts_links"));
|
|
|
|
// line 30
|
|
yield " <div class=\"shortcuts\">
|
|
<a class=\"btn btn-link\" href=\"";
|
|
// line 31
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search", ["limit" => 10, "type" => (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 31, $this->source); })())]), "html", null, true);
|
|
yield "\">";
|
|
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/search.svg");
|
|
yield " Search profiles</a>
|
|
<a class=\"btn btn-link\" href=\"";
|
|
// line 32
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", Twig\Extension\CoreExtension::merge(["token" => "latest", "type" => (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 32, $this->source); })())], CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 32, $this->source); })()), "query", [], "any", false, false, false, 32), "all", [], "any", false, false, false, 32))), "html", null, true);
|
|
yield "\">Latest</a>
|
|
</div>
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 70
|
|
/**
|
|
* @return iterable<null|scalar|\Stringable>
|
|
*/
|
|
public function block_panel(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(), "block", "panel"));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
|
|
|
|
yield "";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName(): string
|
|
{
|
|
return "@WebProfiler/Profiler/layout.html.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo(): array
|
|
{
|
|
return array ( 342 => 70, 328 => 32, 322 => 31, 319 => 30, 306 => 29, 293 => 63, 289 => 61, 285 => 59, 271 => 58, 263 => 55, 256 => 54, 253 => 53, 247 => 49, 239 => 48, 237 => 47, 234 => 46, 217 => 45, 214 => 44, 211 => 43, 208 => 42, 205 => 41, 202 => 40, 200 => 39, 197 => 38, 195 => 37, 191 => 35, 189 => 29, 185 => 27, 172 => 26, 161 => 20, 157 => 18, 155 => 17, 154 => 16, 153 => 15, 152 => 14, 151 => 13, 150 => 12, 147 => 11, 144 => 10, 141 => 9, 128 => 8, 112 => 71, 110 => 70, 106 => 69, 100 => 65, 98 => 26, 91 => 21, 89 => 8, 83 => 5, 80 => 4, 67 => 3, 44 => 1,);
|
|
}
|
|
|
|
public function getSourceContext(): Source
|
|
{
|
|
return new Source("{% extends '@WebProfiler/Profiler/base.html.twig' %}
|
|
|
|
{% block body %}
|
|
<div class=\"container\">
|
|
{{ include('@WebProfiler/Profiler/header.html.twig', {profile_type: profile_type}, with_context = false) }}
|
|
|
|
<div id=\"summary\">
|
|
{% block summary %}
|
|
{% if profile is defined %}
|
|
{% set request_collector = profile.collectors.request|default(false) %}
|
|
|
|
{{ include('@WebProfiler/Profiler/_%s_summary.html.twig'|format(profile_type), {
|
|
profile: profile,
|
|
command_collector: profile.collectors.command|default(false) ,
|
|
request_collector: request_collector,
|
|
request: request,
|
|
token: token
|
|
}, with_context=false) }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div id=\"content\">
|
|
<div id=\"main\">
|
|
<div id=\"sidebar\">
|
|
{% block sidebar %}
|
|
<div id=\"sidebar-contents\">
|
|
<div id=\"sidebar-shortcuts\">
|
|
{% block sidebar_shortcuts_links %}
|
|
<div class=\"shortcuts\">
|
|
<a class=\"btn btn-link\" href=\"{{ path('_profiler_search', { limit: 10, type: profile_type }) }}\">{{ source('@WebProfiler/Icon/search.svg') }} Search profiles</a>
|
|
<a class=\"btn btn-link\" href=\"{{ path('_profiler', { token: 'latest', type: profile_type }|merge(request.query.all)) }}\">Latest</a>
|
|
</div>
|
|
{% endblock sidebar_shortcuts_links %}
|
|
</div>
|
|
|
|
{% if templates is defined %}
|
|
<ul id=\"menu-profiler\">
|
|
{% if 'request' is same as(profile_type) %}
|
|
{% set excludes = ['command'] %}
|
|
{% elseif 'command' is same as(profile_type) %}
|
|
{% set excludes = ['request', 'router'] %}
|
|
{% endif %}
|
|
|
|
{% for name, template in templates|filter((t, n) => n not in excludes) %}
|
|
{% set menu -%}
|
|
{%- if block('menu', template) is defined -%}
|
|
{% with { collector: profile.getcollector(name), profiler_markup_version: profiler_markup_version } %}
|
|
{{- block('menu', template) -}}
|
|
{% endwith %}
|
|
{%- endif -%}
|
|
{%- endset %}
|
|
{% if menu is not empty %}
|
|
<li class=\"{{ name }} {{ name == panel ? 'selected' }}\">
|
|
<a href=\"{{ path('_profiler', { token: token, panel: name, type: profile_type }) }}\">{{ menu|raw }}</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{{ include('@WebProfiler/Profiler/settings.html.twig') }}
|
|
{% endblock sidebar %}
|
|
</div>
|
|
|
|
<div id=\"collector-wrapper\">
|
|
<div id=\"collector-content\">
|
|
{{ include('@WebProfiler/Profiler/base_js.html.twig') }}
|
|
{% block panel '' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
", "@WebProfiler/Profiler/layout.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/layout.html.twig");
|
|
}
|
|
}
|