initial commit
This commit is contained in:
1736
var/cache/dev/twig/16/167e4a862c6454699afc8342721aaf76.php
vendored
Normal file
1736
var/cache/dev/twig/16/167e4a862c6454699afc8342721aaf76.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
318
var/cache/dev/twig/17/17411083a5e212016e3b41e2f6a14daf.php
vendored
Normal file
318
var/cache/dev/twig/17/17411083a5e212016e3b41e2f6a14daf.php
vendored
Normal file
@@ -0,0 +1,318 @@
|
||||
<?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/Router/panel.html.twig */
|
||||
class __TwigTemplate_0abc3e2105f87793fbbb94dd1bdc64d8 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Router/panel.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/Router/panel.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<h2>Routing</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 5
|
||||
yield ((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.', 5, $this->source); })()), "route", [], "any", false, false, false, 5)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 5, $this->source); })()), "route", [], "any", false, false, false, 5), "html", null, true)) : ("(none)"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Matched route</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 10
|
||||
if ((($tmp = 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.', 10, $this->source); })()), "route", [], "any", false, false, false, 10)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 11
|
||||
yield " <h3>Route Parameters</h3>
|
||||
|
||||
";
|
||||
// line 13
|
||||
if (Twig\Extension\CoreExtension::testEmpty(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.', 13, $this->source); })()), "routeParams", [], "any", false, false, false, 13))) {
|
||||
// line 14
|
||||
yield " <div class=\"empty\">
|
||||
<p>No parameters.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 18
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => 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.', 18, $this->source); })()), "routeParams", [], "any", false, false, false, 18), "labels" => ["Name", "Value"]], false);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
}
|
||||
// line 21
|
||||
yield "
|
||||
";
|
||||
// line 22
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["router"]) || array_key_exists("router", $context) ? $context["router"] : (function () { throw new RuntimeError('Variable "router" does not exist.', 22, $this->source); })()), "redirect", [], "any", false, false, false, 22)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 23
|
||||
yield " <h3>Route Redirection</h3>
|
||||
|
||||
<p>This page redirects to:</p>
|
||||
<div class=\"card break-long-words\">
|
||||
";
|
||||
// line 27
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["router"]) || array_key_exists("router", $context) ? $context["router"] : (function () { throw new RuntimeError('Variable "router" does not exist.', 27, $this->source); })()), "targetUrl", [], "any", false, false, false, 27), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
// line 28
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["router"]) || array_key_exists("router", $context) ? $context["router"] : (function () { throw new RuntimeError('Variable "router" does not exist.', 28, $this->source); })()), "targetRoute", [], "any", false, false, false, 28)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
yield "<span class=\"text-muted\">(route: \"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["router"]) || array_key_exists("router", $context) ? $context["router"] : (function () { throw new RuntimeError('Variable "router" does not exist.', 28, $this->source); })()), "targetRoute", [], "any", false, false, false, 28), "html", null, true);
|
||||
yield "\")</span>";
|
||||
}
|
||||
// line 29
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 31
|
||||
yield "
|
||||
<h3>Route Matching Logs</h3>
|
||||
|
||||
<div class=\"card\">
|
||||
<strong>Path to match:</strong> <code>";
|
||||
// line 35
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 35, $this->source); })()), "pathinfo", [], "any", false, false, false, 35), "html", null, true);
|
||||
yield "</code>
|
||||
</div>
|
||||
|
||||
<table id=\"router-logs\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Route name</th>
|
||||
<th>Path</th>
|
||||
<th>Log</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 48
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["traces"]) || array_key_exists("traces", $context) ? $context["traces"] : (function () { throw new RuntimeError('Variable "traces" does not exist.', 48, $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["_key"] => $context["trace"]) {
|
||||
// line 49
|
||||
yield " <tr class=\"";
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "level", [], "any", false, false, false, 49) == 1)) ? ("status-warning") : ((((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "level", [], "any", false, false, false, 49) == 2)) ? ("status-success") : (""))));
|
||||
yield "\">
|
||||
<td class=\"font-normal text-muted nowrap\">";
|
||||
// line 50
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 50), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"break-long-words\">";
|
||||
// line 51
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "name", [], "any", false, false, false, 51), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"break-long-words\">";
|
||||
// line 52
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "path", [], "any", false, false, false, 52), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"break-long-words font-normal\">
|
||||
";
|
||||
// line 54
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "level", [], "any", false, false, false, 54) == 1)) {
|
||||
// line 55
|
||||
yield " Path almost matches, but
|
||||
<span class=\"newline\">";
|
||||
// line 56
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "log", [], "any", false, false, false, 56), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 57
|
||||
$context["trace"], "level", [], "any", false, false, false, 57) == 2)) {
|
||||
// line 58
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "log", [], "any", false, false, false, 58), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 60
|
||||
yield " Path does not match
|
||||
";
|
||||
}
|
||||
// line 62
|
||||
yield " </td>
|
||||
</tr>
|
||||
";
|
||||
++$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['_key'], $context['trace'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 65
|
||||
yield " </tbody>
|
||||
</table>
|
||||
|
||||
<p class=\"help\">
|
||||
Note: These matching logs are based on the current router configuration,
|
||||
which might differ from the configuration used when profiling this request.
|
||||
</p>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Router/panel.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 202 => 65, 186 => 62, 182 => 60, 176 => 58, 174 => 57, 170 => 56, 167 => 55, 165 => 54, 160 => 52, 156 => 51, 152 => 50, 147 => 49, 130 => 48, 114 => 35, 108 => 31, 104 => 29, 98 => 28, 94 => 27, 88 => 23, 86 => 22, 83 => 21, 76 => 18, 70 => 14, 68 => 13, 64 => 11, 62 => 10, 54 => 5, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<h2>Routing</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ request.route ?: '(none)' }}</span>
|
||||
<span class=\"label\">Matched route</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if request.route %}
|
||||
<h3>Route Parameters</h3>
|
||||
|
||||
{% if request.routeParams is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No parameters.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: request.routeParams, labels: ['Name', 'Value'] }, with_context = false) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if router.redirect %}
|
||||
<h3>Route Redirection</h3>
|
||||
|
||||
<p>This page redirects to:</p>
|
||||
<div class=\"card break-long-words\">
|
||||
{{ router.targetUrl }}
|
||||
{% if router.targetRoute %}<span class=\"text-muted\">(route: \"{{ router.targetRoute }}\")</span>{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h3>Route Matching Logs</h3>
|
||||
|
||||
<div class=\"card\">
|
||||
<strong>Path to match:</strong> <code>{{ request.pathinfo }}</code>
|
||||
</div>
|
||||
|
||||
<table id=\"router-logs\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Route name</th>
|
||||
<th>Path</th>
|
||||
<th>Log</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for trace in traces %}
|
||||
<tr class=\"{{ trace.level == 1 ? 'status-warning' : trace.level == 2 ? 'status-success' }}\">
|
||||
<td class=\"font-normal text-muted nowrap\">{{ loop.index }}</td>
|
||||
<td class=\"break-long-words\">{{ trace.name }}</td>
|
||||
<td class=\"break-long-words\">{{ trace.path }}</td>
|
||||
<td class=\"break-long-words font-normal\">
|
||||
{% if trace.level == 1 %}
|
||||
Path almost matches, but
|
||||
<span class=\"newline\">{{ trace.log }}</span>
|
||||
{% elseif trace.level == 2 %}
|
||||
{{ trace.log }}
|
||||
{% else %}
|
||||
Path does not match
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p class=\"help\">
|
||||
Note: These matching logs are based on the current router configuration,
|
||||
which might differ from the configuration used when profiling this request.
|
||||
</p>
|
||||
", "@WebProfiler/Router/panel.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Router/panel.html.twig");
|
||||
}
|
||||
}
|
||||
274
var/cache/dev/twig/17/17d22e50763aa1b5814a93055b80cc3b.php
vendored
Normal file
274
var/cache/dev/twig/17/17d22e50763aa1b5814a93055b80cc3b.php
vendored
Normal file
@@ -0,0 +1,274 @@
|
||||
<?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/toolbar_redirect.html.twig */
|
||||
class __TwigTemplate_da9e3a6a4186031dc6ee23180c34c1eb 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 = [
|
||||
'title' => [$this, 'block_title'],
|
||||
'head' => [$this, 'block_head'],
|
||||
'body' => [$this, 'block_body'],
|
||||
];
|
||||
}
|
||||
|
||||
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/toolbar_redirect.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/toolbar_redirect.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_title(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", "title"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
|
||||
|
||||
yield "Redirection Intercepted";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 6
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 7
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
.sf-redirection-details {
|
||||
background: var(--page-background);
|
||||
box-shadow: inset 0 0 0 1px var(--menu-border-color), 0 0 0 5px var(--page-background);
|
||||
border-radius: 6px;
|
||||
margin: 45px auto 30px;
|
||||
max-width: 800px;
|
||||
padding: 30px 45px;
|
||||
}
|
||||
.sf-redirection-details h1 {
|
||||
font-size: 21px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.sf-redirection-details p {
|
||||
margin-top: 0;
|
||||
}
|
||||
.sf-redirection-details .sf-redirection-help {
|
||||
color: var(--color-muted);
|
||||
font-size: 14px;
|
||||
margin: 45px 0 0;
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 34
|
||||
/**
|
||||
* @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 35
|
||||
yield " <div class=\"container\">
|
||||
";
|
||||
// line 36
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/header.html.twig", [], false);
|
||||
yield "
|
||||
|
||||
<div class=\"sf-reset sf-redirection-details\">
|
||||
<div class=\"block-exception\">
|
||||
<h1>Redirection Intercepted</h1>
|
||||
|
||||
";
|
||||
// line 42
|
||||
$context["absolute_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl((isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 42, $this->source); })()));
|
||||
// line 43
|
||||
yield " <p>This request redirects to <strong>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["absolute_url"]) || array_key_exists("absolute_url", $context) ? $context["absolute_url"] : (function () { throw new RuntimeError('Variable "absolute_url" does not exist.', 43, $this->source); })()), "html", null, true);
|
||||
yield "</strong></p>
|
||||
|
||||
<p><a class=\"btn\" href=\"";
|
||||
// line 45
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["absolute_url"]) || array_key_exists("absolute_url", $context) ? $context["absolute_url"] : (function () { throw new RuntimeError('Variable "absolute_url" does not exist.', 45, $this->source); })()), "html", null, true);
|
||||
yield "\">Follow redirect</a></p>
|
||||
|
||||
<p class=\"sf-redirection-help\">
|
||||
The redirect was intercepted by the Symfony Web Debug toolbar to help debugging.
|
||||
For more information, see the \"intercept-redirects\" option of the Profiler.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/toolbar_redirect.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 172 => 45, 166 => 43, 164 => 42, 155 => 36, 152 => 35, 139 => 34, 101 => 7, 88 => 6, 65 => 3, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/base.html.twig' %}
|
||||
|
||||
{% block title 'Redirection Intercepted' %}
|
||||
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
.sf-redirection-details {
|
||||
background: var(--page-background);
|
||||
box-shadow: inset 0 0 0 1px var(--menu-border-color), 0 0 0 5px var(--page-background);
|
||||
border-radius: 6px;
|
||||
margin: 45px auto 30px;
|
||||
max-width: 800px;
|
||||
padding: 30px 45px;
|
||||
}
|
||||
.sf-redirection-details h1 {
|
||||
font-size: 21px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.sf-redirection-details p {
|
||||
margin-top: 0;
|
||||
}
|
||||
.sf-redirection-details .sf-redirection-help {
|
||||
color: var(--color-muted);
|
||||
font-size: 14px;
|
||||
margin: 45px 0 0;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class=\"container\">
|
||||
{{ include('@WebProfiler/Profiler/header.html.twig', with_context = false) }}
|
||||
|
||||
<div class=\"sf-reset sf-redirection-details\">
|
||||
<div class=\"block-exception\">
|
||||
<h1>Redirection Intercepted</h1>
|
||||
|
||||
{% set absolute_url = absolute_url(location) %}
|
||||
<p>This request redirects to <strong>{{ absolute_url }}</strong></p>
|
||||
|
||||
<p><a class=\"btn\" href=\"{{ absolute_url }}\">Follow redirect</a></p>
|
||||
|
||||
<p class=\"sf-redirection-help\">
|
||||
The redirect was intercepted by the Symfony Web Debug toolbar to help debugging.
|
||||
For more information, see the \"intercept-redirects\" option of the Profiler.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Profiler/toolbar_redirect.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_redirect.html.twig");
|
||||
}
|
||||
}
|
||||
626
var/cache/dev/twig/2a/2a0729ded5ac831a7110e76f8c80c29e.php
vendored
Normal file
626
var/cache/dev/twig/2a/2a0729ded5ac831a7110e76f8c80c29e.php
vendored
Normal file
@@ -0,0 +1,626 @@
|
||||
<?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/results.html.twig */
|
||||
class __TwigTemplate_97f690c8b39868cb8e9fe57412934e3d 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'summary' => [$this, 'block_summary'],
|
||||
'sidebar_search_css_class' => [$this, 'block_sidebar_search_css_class'],
|
||||
'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/layout.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/results.html.twig"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/results.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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 9
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 10
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
#search-results td {
|
||||
font-family: var(--font-family-system);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#search-results .sf-search {
|
||||
visibility: hidden;
|
||||
margin-left: 2px;
|
||||
}
|
||||
#search-results tr:hover .sf-search {
|
||||
visibility: visible;
|
||||
}
|
||||
#search-results .sf-search svg {
|
||||
stroke-width: 3;
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 31
|
||||
/**
|
||||
* @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 32
|
||||
yield " <div class=\"status\">
|
||||
<h2>Profile Search</h2>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 37
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_sidebar_search_css_class(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_search_css_class"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar_search_css_class"));
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 38
|
||||
/**
|
||||
* @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 39
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("sidebar_shortcuts_links", $context, $blocks);
|
||||
yield "
|
||||
";
|
||||
// line 40
|
||||
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.profiler::searchBarAction", [], Twig\Extension\CoreExtension::merge(["type" => (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 40, $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.', 40, $this->source); })()), "query", [], "any", false, false, false, 40), "all", [], "any", false, false, false, 40))));
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 43
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 44
|
||||
yield " <div class=\"sf-tabs\" data-processed=\"true\">
|
||||
<div class=\"tab-navigation\" role=\"tablist\">
|
||||
<button class=\"tab-control ";
|
||||
// line 46
|
||||
yield ((("request" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 46, $this->source); })()))) ? ("active") : (""));
|
||||
yield "\" role=\"tab\" ";
|
||||
yield ((("request" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 46, $this->source); })()))) ? ("aria-selected=\"true\"") : ("tabindex=\"-1\""));
|
||||
yield " >
|
||||
<a href=\"";
|
||||
// line 47
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", ["token" => "empty", "limit" => 10]), "html", null, true);
|
||||
yield "\">
|
||||
HTTP Requests
|
||||
</a>
|
||||
</button>
|
||||
<button class=\"tab-control ";
|
||||
// line 51
|
||||
yield ((("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 51, $this->source); })()))) ? ("active") : (""));
|
||||
yield "\" role=\"tab\" ";
|
||||
yield ((("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 51, $this->source); })()))) ? ("aria-selected=\"true\"") : ("tabindex=\"-1\""));
|
||||
yield ">
|
||||
<a href=\"";
|
||||
// line 52
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", ["token" => "empty", "limit" => 10, "type" => "command"]), "html", null, true);
|
||||
yield "\">
|
||||
Console Commands
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>";
|
||||
// line 59
|
||||
yield (((($tmp = (isset($context["tokens"]) || array_key_exists("tokens", $context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.', 59, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["tokens"]) || array_key_exists("tokens", $context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.', 59, $this->source); })())), "html", null, true)) : ("No"));
|
||||
yield " results found</h2>
|
||||
|
||||
";
|
||||
// line 61
|
||||
if ((($tmp = (isset($context["tokens"]) || array_key_exists("tokens", $context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.', 61, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 62
|
||||
yield " <table id=\"search-results\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"text-center\">
|
||||
";
|
||||
// line 66
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 66, $this->source); })()))) {
|
||||
// line 67
|
||||
yield " Exit code
|
||||
";
|
||||
} else {
|
||||
// line 69
|
||||
yield " Status
|
||||
";
|
||||
}
|
||||
// line 71
|
||||
yield " </th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 73
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 73, $this->source); })()))) {
|
||||
// line 74
|
||||
yield " Application
|
||||
";
|
||||
} else {
|
||||
// line 76
|
||||
yield " IP
|
||||
";
|
||||
}
|
||||
// line 78
|
||||
yield " </th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 80
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 80, $this->source); })()))) {
|
||||
// line 81
|
||||
yield " Mode
|
||||
";
|
||||
} else {
|
||||
// line 83
|
||||
yield " Method
|
||||
";
|
||||
}
|
||||
// line 85
|
||||
yield " </th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 87
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 87, $this->source); })()))) {
|
||||
// line 88
|
||||
yield " Command
|
||||
";
|
||||
} else {
|
||||
// line 90
|
||||
yield " URL
|
||||
";
|
||||
}
|
||||
// line 92
|
||||
yield " </th>
|
||||
<th scope=\"col\">Time</th>
|
||||
<th scope=\"col\">Token</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 98
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["tokens"]) || array_key_exists("tokens", $context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.', 98, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["result"]) {
|
||||
// line 99
|
||||
yield " ";
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 99, $this->source); })()))) {
|
||||
// line 100
|
||||
yield " ";
|
||||
$context["css_class"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", false, false, false, 100) == 113)) ? ("status-warning") : ((((CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", false, false, false, 100) > 0)) ? ("status-error") : ("status-success"))));
|
||||
// line 101
|
||||
yield " ";
|
||||
} else {
|
||||
// line 102
|
||||
yield " ";
|
||||
$context["css_class"] = (((((CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", true, true, false, 102)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", false, false, false, 102), 0)) : (0)) > 399)) ? ("status-error") : ((((((CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", true, true, false, 102)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", false, false, false, 102), 0)) : (0)) > 299)) ? ("status-warning") : ("status-success"))));
|
||||
// line 103
|
||||
yield " ";
|
||||
}
|
||||
// line 104
|
||||
yield "
|
||||
<tr>
|
||||
<td class=\"text-center\">
|
||||
<span class=\"label ";
|
||||
// line 107
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["css_class"]) || array_key_exists("css_class", $context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.', 107, $this->source); })()), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", true, true, false, 107)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "status_code", [], "any", false, false, false, 107), "n/a")) : ("n/a")), "html", null, true);
|
||||
yield "</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class=\"nowrap\">";
|
||||
// line 110
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "ip", [], "any", false, false, false, 110), "html", null, true);
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_profile_search_filter", $context, 110, $this->getSourceContext())->macro_profile_search_filter(...[(isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 110, $this->source); })()), $context["result"], "ip"]);
|
||||
yield "</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class=\"nowrap\">";
|
||||
// line 113
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "method", [], "any", false, false, false, 113), "html", null, true);
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_profile_search_filter", $context, 113, $this->getSourceContext())->macro_profile_search_filter(...[(isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 113, $this->source); })()), $context["result"], "method"]);
|
||||
yield "</span>
|
||||
</td>
|
||||
<td class=\"break-long-words\">
|
||||
";
|
||||
// line 116
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "url", [], "any", false, false, false, 116), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
// line 117
|
||||
yield $this->getTemplateForMacro("macro_profile_search_filter", $context, 117, $this->getSourceContext())->macro_profile_search_filter(...[(isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 117, $this->source); })()), $context["result"], "url"]);
|
||||
yield "
|
||||
</td>
|
||||
<td class=\"text-small\">
|
||||
<time data-convert-to-user-timezone data-render-as-date datetime=\"";
|
||||
// line 120
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "time", [], "any", false, false, false, 120), "c"), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 121
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "time", [], "any", false, false, false, 121), "d-M-Y"), "html", null, true);
|
||||
yield "
|
||||
</time>
|
||||
<time class=\"newline\" data-convert-to-user-timezone data-render-as-time datetime=\"";
|
||||
// line 123
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "time", [], "any", false, false, false, 123), "c"), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 124
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "time", [], "any", false, false, false, 124), "H:i:s"), "html", null, true);
|
||||
yield "
|
||||
</time>
|
||||
</td>
|
||||
<td class=\"nowrap\"><a href=\"";
|
||||
// line 127
|
||||
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["result"], "token", [], "any", false, false, false, 127)]), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["result"], "token", [], "any", false, false, false, 127), "html", null, true);
|
||||
yield "</a></td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['result'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 130
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
} else {
|
||||
// line 133
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>The query returned no result.</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 137
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 3
|
||||
public function macro_profile_search_filter($request = null, $result = null, $property = null, ...$varargs): string|Markup
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = [
|
||||
"request" => $request,
|
||||
"result" => $result,
|
||||
"property" => $property,
|
||||
"varargs" => $varargs,
|
||||
] + $this->env->getGlobals();
|
||||
|
||||
$blocks = [];
|
||||
|
||||
return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "profile_search_filter"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "profile_search_filter"));
|
||||
|
||||
// line 4
|
||||
if ((($tmp = 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.', 4, $this->source); })()), "hasSession", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 5
|
||||
yield "<a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", Twig\Extension\CoreExtension::merge(Twig\Extension\CoreExtension::merge(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.', 5, $this->source); })()), "query", [], "any", false, false, false, 5), "all", [], "any", false, false, false, 5), ["token" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 5, $this->source); })()), "token", [], "any", false, false, false, 5)]), [ (string)(isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.', 5, $this->source); })()) => CoreExtension::getAttribute($this->env, $this->source, (isset($context["result"]) || array_key_exists("result", $context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.', 5, $this->source); })()), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.', 5, $this->source); })()), [], "array", false, false, false, 5)])), "html", null, true);
|
||||
yield "\" title=\"Search\"><span title=\"Search\" class=\"sf-icon sf-search\">";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/search.svg");
|
||||
yield "</span></a>";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/results.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 444 => 5, 442 => 4, 422 => 3, 410 => 137, 404 => 133, 399 => 130, 388 => 127, 382 => 124, 378 => 123, 373 => 121, 369 => 120, 363 => 117, 359 => 116, 351 => 113, 343 => 110, 335 => 107, 330 => 104, 327 => 103, 324 => 102, 321 => 101, 318 => 100, 315 => 99, 311 => 98, 303 => 92, 299 => 90, 295 => 88, 293 => 87, 289 => 85, 285 => 83, 281 => 81, 279 => 80, 275 => 78, 271 => 76, 267 => 74, 265 => 73, 261 => 71, 257 => 69, 253 => 67, 251 => 66, 245 => 62, 243 => 61, 238 => 59, 228 => 52, 222 => 51, 215 => 47, 209 => 46, 205 => 44, 192 => 43, 179 => 40, 174 => 39, 161 => 38, 139 => 37, 125 => 32, 112 => 31, 80 => 10, 67 => 9, 44 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% macro profile_search_filter(request, result, property) %}
|
||||
{%- if request.hasSession -%}
|
||||
<a href=\"{{ path('_profiler_search_results', request.query.all|merge({token: result.token})|merge({ (property): result[property] })) }}\" title=\"Search\"><span title=\"Search\" class=\"sf-icon sf-search\">{{ source('@WebProfiler/Icon/search.svg') }}</span></a>
|
||||
{%- endif -%}
|
||||
{% endmacro %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
#search-results td {
|
||||
font-family: var(--font-family-system);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#search-results .sf-search {
|
||||
visibility: hidden;
|
||||
margin-left: 2px;
|
||||
}
|
||||
#search-results tr:hover .sf-search {
|
||||
visibility: visible;
|
||||
}
|
||||
#search-results .sf-search svg {
|
||||
stroke-width: 3;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block summary %}
|
||||
<div class=\"status\">
|
||||
<h2>Profile Search</h2>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar_search_css_class %}{% endblock %}
|
||||
{% block sidebar_shortcuts_links %}
|
||||
{{ parent() }}
|
||||
{{ render(controller('web_profiler.controller.profiler::searchBarAction', query={type: profile_type }|merge(request.query.all))) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<div class=\"sf-tabs\" data-processed=\"true\">
|
||||
<div class=\"tab-navigation\" role=\"tablist\">
|
||||
<button class=\"tab-control {{ 'request' == profile_type ? 'active' }}\" role=\"tab\" {{ 'request' == profile_type ? 'aria-selected=\"true\"' : 'tabindex=\"-1\"' }} >
|
||||
<a href=\"{{ path('_profiler_search_results', {token: 'empty', limit: 10}) }}\">
|
||||
HTTP Requests
|
||||
</a>
|
||||
</button>
|
||||
<button class=\"tab-control {{ 'command' == profile_type ? 'active' }}\" role=\"tab\" {{ 'command' == profile_type ? 'aria-selected=\"true\"' : 'tabindex=\"-1\"' }}>
|
||||
<a href=\"{{ path('_profiler_search_results', {token: 'empty', limit: 10, type: 'command'}) }}\">
|
||||
Console Commands
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>{{ tokens ? tokens|length : 'No' }} results found</h2>
|
||||
|
||||
{% if tokens %}
|
||||
<table id=\"search-results\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"text-center\">
|
||||
{% if 'command' == profile_type %}
|
||||
Exit code
|
||||
{% else %}
|
||||
Status
|
||||
{% endif %}
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
{% if 'command' == profile_type %}
|
||||
Application
|
||||
{% else %}
|
||||
IP
|
||||
{% endif %}
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
{% if 'command' == profile_type %}
|
||||
Mode
|
||||
{% else %}
|
||||
Method
|
||||
{% endif %}
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
{% if 'command' == profile_type %}
|
||||
Command
|
||||
{% else %}
|
||||
URL
|
||||
{% endif %}
|
||||
</th>
|
||||
<th scope=\"col\">Time</th>
|
||||
<th scope=\"col\">Token</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for result in tokens %}
|
||||
{% if 'command' == profile_type %}
|
||||
{% set css_class = result.status_code == 113 ? 'status-warning' : result.status_code > 0 ? 'status-error' : 'status-success' %}
|
||||
{% else %}
|
||||
{% set css_class = result.status_code|default(0) > 399 ? 'status-error' : result.status_code|default(0) > 299 ? 'status-warning' : 'status-success' %}
|
||||
{% endif %}
|
||||
|
||||
<tr>
|
||||
<td class=\"text-center\">
|
||||
<span class=\"label {{ css_class }}\">{{ result.status_code|default('n/a') }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class=\"nowrap\">{{ result.ip }} {{ _self.profile_search_filter(request, result, 'ip') }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class=\"nowrap\">{{ result.method }} {{ _self.profile_search_filter(request, result, 'method') }}</span>
|
||||
</td>
|
||||
<td class=\"break-long-words\">
|
||||
{{ result.url }}
|
||||
{{ _self.profile_search_filter(request, result, 'url') }}
|
||||
</td>
|
||||
<td class=\"text-small\">
|
||||
<time data-convert-to-user-timezone data-render-as-date datetime=\"{{ result.time|date('c') }}\">
|
||||
{{ result.time|date('d-M-Y') }}
|
||||
</time>
|
||||
<time class=\"newline\" data-convert-to-user-timezone data-render-as-time datetime=\"{{ result.time|date('c') }}\">
|
||||
{{ result.time|date('H:i:s') }}
|
||||
</time>
|
||||
</td>
|
||||
<td class=\"nowrap\"><a href=\"{{ path('_profiler', { token: result.token }) }}\">{{ result.token }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>The query returned no result.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Profiler/results.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/results.html.twig");
|
||||
}
|
||||
}
|
||||
1047
var/cache/dev/twig/39/39ff7035295f378b69d7f90bdc808313.php
vendored
Normal file
1047
var/cache/dev/twig/39/39ff7035295f378b69d7f90bdc808313.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
274
var/cache/dev/twig/40/40f1b4d86bfdea3e68e82a4317f5f8a0.php
vendored
Normal file
274
var/cache/dev/twig/40/40f1b4d86bfdea3e68e82a4317f5f8a0.php
vendored
Normal file
@@ -0,0 +1,274 @@
|
||||
<?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/Collector/exception.html.twig */
|
||||
class __TwigTemplate_266ae7781d54bc8ece615b4031628a76 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/exception.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/Collector/exception.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
if ((($tmp = 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.', 4, $this->source); })()), "hasexception", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 5
|
||||
yield " <style>
|
||||
";
|
||||
// line 6
|
||||
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.exception_panel::stylesheet", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 6, $this->source); })())]));
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Collector/exception.css.twig");
|
||||
yield "
|
||||
</style>
|
||||
";
|
||||
}
|
||||
// line 10
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 13
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 14
|
||||
yield " <span class=\"label ";
|
||||
yield (((($tmp = 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.', 14, $this->source); })()), "hasexception", [], "any", false, false, false, 14)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("label-status-error") : ("disabled"));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 15
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/exception.svg");
|
||||
yield "</span>
|
||||
<strong>Exception</strong>
|
||||
";
|
||||
// line 17
|
||||
if ((($tmp = 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.', 17, $this->source); })()), "hasexception", [], "any", false, false, false, 17)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 18
|
||||
yield " <span class=\"count\">
|
||||
<span>1</span>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 22
|
||||
yield " </span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 25
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 26
|
||||
yield " ";
|
||||
// line 28
|
||||
yield " <style>
|
||||
.tab-navigation li { background: none; border: 0; font-size: 14px; }
|
||||
.tab-navigation li.active { border-radius: 6px; }
|
||||
.tab-navigation li.active .badge { background-color: var(--selected-badge-background); color: var(--selected-badge-color); }
|
||||
</style>
|
||||
|
||||
<h2>Exceptions</h2>
|
||||
|
||||
";
|
||||
// line 36
|
||||
if ((($tmp = !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.', 36, $this->source); })()), "hasexception", [], "any", false, false, false, 36)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 37
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No exception was thrown and caught.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 41
|
||||
yield " <div class=\"sf-reset\">
|
||||
";
|
||||
// line 42
|
||||
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.exception_panel::body", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 42, $this->source); })())]));
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/exception.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 187 => 42, 184 => 41, 178 => 37, 176 => 36, 166 => 28, 164 => 26, 151 => 25, 139 => 22, 133 => 18, 131 => 17, 126 => 15, 121 => 14, 108 => 13, 94 => 10, 88 => 7, 84 => 6, 81 => 5, 78 => 4, 65 => 3, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
{% if collector.hasexception %}
|
||||
<style>
|
||||
{{ render(controller('web_profiler.controller.exception_panel::stylesheet', { token: token })) }}
|
||||
{{ include('@WebProfiler/Collector/exception.css.twig') }}
|
||||
</style>
|
||||
{% endif %}
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/exception.svg') }}</span>
|
||||
<strong>Exception</strong>
|
||||
{% if collector.hasexception %}
|
||||
<span class=\"count\">
|
||||
<span>1</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{# these styles are needed to override some styles from Exception page, which wasn't
|
||||
updated yet to the new style of the Symfony Profiler #}
|
||||
<style>
|
||||
.tab-navigation li { background: none; border: 0; font-size: 14px; }
|
||||
.tab-navigation li.active { border-radius: 6px; }
|
||||
.tab-navigation li.active .badge { background-color: var(--selected-badge-background); color: var(--selected-badge-color); }
|
||||
</style>
|
||||
|
||||
<h2>Exceptions</h2>
|
||||
|
||||
{% if not collector.hasexception %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No exception was thrown and caught.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"sf-reset\">
|
||||
{{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/exception.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/exception.html.twig");
|
||||
}
|
||||
}
|
||||
192
var/cache/dev/twig/43/43908303f8d159ae0a17dcc5fbf9fb1b.php
vendored
Normal file
192
var/cache/dev/twig/43/43908303f8d159ae0a17dcc5fbf9fb1b.php
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
<?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/Collector/ajax.html.twig */
|
||||
class __TwigTemplate_2cd4a512e4136ee6209513842e2f55b7 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/ajax.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/Collector/ajax.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 5
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/ajax.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value sf-toolbar-ajax-request-counter\">0</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 8
|
||||
yield "
|
||||
";
|
||||
// line 9
|
||||
$context["text"] = new Markup(" <div class=\"sf-toolbar-info-piece\">
|
||||
<span class=\"sf-toolbar-header\">
|
||||
<b class=\"sf-toolbar-ajax-info\"></b>
|
||||
<b class=\"sf-toolbar-action\">(<a class=\"sf-toolbar-ajax-clear\" href=\"javascript:void(0);\">Clear</a>)</b>
|
||||
</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<table class=\"sf-toolbar-ajax-requests\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Profile</th>
|
||||
<th>Method</th>
|
||||
<th>Type</th>
|
||||
<th>Status</th>
|
||||
<th>URL</th>
|
||||
<th>Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class=\"sf-toolbar-ajax-request-list\"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
", $this->env->getCharset());
|
||||
// line 33
|
||||
yield "
|
||||
";
|
||||
// line 34
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => false]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/ajax.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 117 => 34, 114 => 33, 90 => 9, 87 => 8, 79 => 5, 76 => 4, 63 => 3, 40 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/ajax.svg') }}
|
||||
<span class=\"sf-toolbar-value sf-toolbar-ajax-request-counter\">0</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<span class=\"sf-toolbar-header\">
|
||||
<b class=\"sf-toolbar-ajax-info\"></b>
|
||||
<b class=\"sf-toolbar-action\">(<a class=\"sf-toolbar-ajax-clear\" href=\"javascript:void(0);\">Clear</a>)</b>
|
||||
</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<table class=\"sf-toolbar-ajax-requests\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Profile</th>
|
||||
<th>Method</th>
|
||||
<th>Type</th>
|
||||
<th>Status</th>
|
||||
<th>URL</th>
|
||||
<th>Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class=\"sf-toolbar-ajax-request-list\"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/ajax.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/ajax.html.twig");
|
||||
}
|
||||
}
|
||||
2224
var/cache/dev/twig/47/47b3880b2f16ea17b12685a8c21445b1.php
vendored
Normal file
2224
var/cache/dev/twig/47/47b3880b2f16ea17b12685a8c21445b1.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
239
var/cache/dev/twig/4b/4b41dc37b5224e26cd8ac1e1eda21c6a.php
vendored
Normal file
239
var/cache/dev/twig/4b/4b41dc37b5224e26cd8ac1e1eda21c6a.php
vendored
Normal file
@@ -0,0 +1,239 @@
|
||||
<?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/_command_summary.html.twig */
|
||||
class __TwigTemplate_30a56bfa7fb248614b8b142f0be838c8 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/_command_summary.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/_command_summary.html.twig"));
|
||||
|
||||
// line 1
|
||||
$context["status_code"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["profile"] ?? null), "statuscode", [], "any", true, true, false, 1)) ? (Twig\Extension\CoreExtension::default(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.', 1, $this->source); })()), "statuscode", [], "any", false, false, false, 1), 0)) : (0));
|
||||
// line 2
|
||||
$context["interrupted"] = ((((isset($context["command_collector"]) || array_key_exists("command_collector", $context) ? $context["command_collector"] : (function () { throw new RuntimeError('Variable "command_collector" does not exist.', 2, $this->source); })()) === false)) ? (null) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["command_collector"]) || array_key_exists("command_collector", $context) ? $context["command_collector"] : (function () { throw new RuntimeError('Variable "command_collector" does not exist.', 2, $this->source); })()), "interruptedBySignal", [], "any", false, false, false, 2)));
|
||||
// line 3
|
||||
$context["css_class"] = (((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 3, $this->source); })()) == 113) || !(null === (isset($context["interrupted"]) || array_key_exists("interrupted", $context) ? $context["interrupted"] : (function () { throw new RuntimeError('Variable "interrupted" does not exist.', 3, $this->source); })())))) ? ("status-warning") : (((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 3, $this->source); })()) > 0)) ? ("status-error") : ("status-success"))));
|
||||
// line 4
|
||||
yield "
|
||||
<div class=\"terminal status ";
|
||||
// line 5
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["css_class"]) || array_key_exists("css_class", $context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.', 5, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"container\">
|
||||
<h2>
|
||||
<span class=\"status-request-method\">
|
||||
";
|
||||
// line 9
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($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.', 9, $this->source); })()), "method", [], "any", false, false, false, 9)), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
|
||||
<span class=\"status-command\">
|
||||
";
|
||||
// line 13
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 13, $this->source); })()), "url", [], "any", false, false, false, 13), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<dl class=\"metadata\">
|
||||
";
|
||||
// line 18
|
||||
if ((($tmp = (isset($context["interrupted"]) || array_key_exists("interrupted", $context) ? $context["interrupted"] : (function () { throw new RuntimeError('Variable "interrupted" does not exist.', 18, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 19
|
||||
yield " <span class=\"status-response-status-code\">Interrupted</span>
|
||||
<dt>Signal</dt>
|
||||
<dd class=\"status-response-status-text\">";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["interrupted"]) || array_key_exists("interrupted", $context) ? $context["interrupted"] : (function () { throw new RuntimeError('Variable "interrupted" does not exist.', 21, $this->source); })()), "html", null, true);
|
||||
yield "</dd>
|
||||
|
||||
<dt>Exit code</dt>
|
||||
<dd class=\"status-response-status-text\">";
|
||||
// line 24
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 24, $this->source); })()), "html", null, true);
|
||||
yield "</dd>
|
||||
";
|
||||
} elseif (( // line 25
|
||||
(isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 25, $this->source); })()) == 0)) {
|
||||
// line 26
|
||||
yield " <span class=\"status-response-status-code\">Success</span>
|
||||
";
|
||||
} elseif (( // line 27
|
||||
(isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 27, $this->source); })()) > 0)) {
|
||||
// line 28
|
||||
yield " <span class=\"status-response-status-code\">Error</span>
|
||||
<dt>Exit code</dt>
|
||||
<dd class=\"status-response-status-text\"><span class=\"status-response-status-code\">";
|
||||
// line 30
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 30, $this->source); })()), "html", null, true);
|
||||
yield "</span></dd>
|
||||
";
|
||||
}
|
||||
// line 32
|
||||
yield "
|
||||
";
|
||||
// line 33
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 33, $this->source); })()), "requestserver", [], "any", false, false, false, 33), "has", ["SYMFONY_CLI_BINARY_NAME"], "method", false, false, false, 33)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 34
|
||||
yield " <dt>Symfony CLI</dt>
|
||||
<dd>v";
|
||||
// line 35
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 35, $this->source); })()), "requestserver", [], "any", false, false, false, 35), "get", ["SYMFONY_CLI_VERSION"], "method", false, false, false, 35), "html", null, true);
|
||||
yield "</dd>
|
||||
";
|
||||
}
|
||||
// line 37
|
||||
yield "
|
||||
<dt>Application</dt>
|
||||
<dd>
|
||||
<a href=\"";
|
||||
// line 40
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 40, $this->source); })()), "limit" => 10, "ip" => 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.', 40, $this->source); })()), "ip", [], "any", false, false, false, 40), "type" => "command"]), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 40, $this->source); })()), "ip", [], "any", false, false, false, 40), "html", null, true);
|
||||
yield "</a>
|
||||
</dd>
|
||||
|
||||
<dt>Profiled on</dt>
|
||||
<dd><time data-convert-to-user-timezone data-render-as-datetime datetime=\"";
|
||||
// line 44
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(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.', 44, $this->source); })()), "time", [], "any", false, false, false, 44), "c"), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(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.', 44, $this->source); })()), "time", [], "any", false, false, false, 44), "r"), "html", null, true);
|
||||
yield "</time></dd>
|
||||
|
||||
<dt>Token</dt>
|
||||
<dd>";
|
||||
// line 47
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 47, $this->source); })()), "token", [], "any", false, false, false, 47), "html", null, true);
|
||||
yield "</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/_command_summary.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 146 => 47, 138 => 44, 129 => 40, 124 => 37, 119 => 35, 116 => 34, 114 => 33, 111 => 32, 106 => 30, 102 => 28, 100 => 27, 97 => 26, 95 => 25, 91 => 24, 85 => 21, 81 => 19, 79 => 18, 71 => 13, 64 => 9, 57 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% set status_code = profile.statuscode|default(0) %}
|
||||
{% set interrupted = command_collector is same as false ? null : command_collector.interruptedBySignal %}
|
||||
{% set css_class = status_code == 113 or interrupted is not null ? 'status-warning' : status_code > 0 ? 'status-error' : 'status-success' %}
|
||||
|
||||
<div class=\"terminal status {{ css_class }}\">
|
||||
<div class=\"container\">
|
||||
<h2>
|
||||
<span class=\"status-request-method\">
|
||||
{{ profile.method|upper }}
|
||||
</span>
|
||||
|
||||
<span class=\"status-command\">
|
||||
{{ profile.url }}
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<dl class=\"metadata\">
|
||||
{% if interrupted %}
|
||||
<span class=\"status-response-status-code\">Interrupted</span>
|
||||
<dt>Signal</dt>
|
||||
<dd class=\"status-response-status-text\">{{ interrupted }}</dd>
|
||||
|
||||
<dt>Exit code</dt>
|
||||
<dd class=\"status-response-status-text\">{{ status_code }}</dd>
|
||||
{% elseif status_code == 0 %}
|
||||
<span class=\"status-response-status-code\">Success</span>
|
||||
{% elseif status_code > 0 %}
|
||||
<span class=\"status-response-status-code\">Error</span>
|
||||
<dt>Exit code</dt>
|
||||
<dd class=\"status-response-status-text\"><span class=\"status-response-status-code\">{{ status_code }}</span></dd>
|
||||
{% endif %}
|
||||
|
||||
{% if request_collector.requestserver.has('SYMFONY_CLI_BINARY_NAME') %}
|
||||
<dt>Symfony CLI</dt>
|
||||
<dd>v{{ request_collector.requestserver.get('SYMFONY_CLI_VERSION') }}</dd>
|
||||
{% endif %}
|
||||
|
||||
<dt>Application</dt>
|
||||
<dd>
|
||||
<a href=\"{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip, type: 'command' }) }}\">{{ profile.ip }}</a>
|
||||
</dd>
|
||||
|
||||
<dt>Profiled on</dt>
|
||||
<dd><time data-convert-to-user-timezone data-render-as-datetime datetime=\"{{ profile.time|date('c') }}\">{{ profile.time|date('r') }}</time></dd>
|
||||
|
||||
<dt>Token</dt>
|
||||
<dd>{{ profile.token }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/_command_summary.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/_command_summary.html.twig");
|
||||
}
|
||||
}
|
||||
1756
var/cache/dev/twig/55/55e019cf08f2a046500be9792c050998.php
vendored
Normal file
1756
var/cache/dev/twig/55/55e019cf08f2a046500be9792c050998.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
595
var/cache/dev/twig/56/56648a40b06c14eb4eae7e8c2778b9b5.php
vendored
Normal file
595
var/cache/dev/twig/56/56648a40b06c14eb4eae7e8c2778b9b5.php
vendored
Normal file
@@ -0,0 +1,595 @@
|
||||
<?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/Collector/validator.html.twig */
|
||||
class __TwigTemplate_541685c1740085ec3bcad3ef181e4993 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/validator.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/Collector/validator.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
#collector-content .sf-validator {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
#collector-content .sf-validator .sf-validator-context,
|
||||
#collector-content .sf-validator .trace {
|
||||
border: var(--border);
|
||||
background: var(--base-0);
|
||||
padding: 10px;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
#collector-content .sf-validator .trace {
|
||||
font-size: 12px;
|
||||
}
|
||||
#collector-content .sf-validator .trace li {
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#collector-content .sf-validator .trace li.selected {
|
||||
background: var(--highlight-selected-line);
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 32
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 33
|
||||
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.', 33, $this->source); })()), "violationsCount", [], "any", false, false, false, 33) > 0) || 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.', 33, $this->source); })()), "calls", [], "any", false, false, false, 33)))) {
|
||||
// line 34
|
||||
yield " ";
|
||||
$context["status_color"] = (((($tmp = 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.', 34, $this->source); })()), "violationsCount", [], "any", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("red") : (""));
|
||||
// line 35
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 36
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/validator.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">
|
||||
";
|
||||
// line 38
|
||||
yield ((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); })()), "violationsCount", [], "any", false, false, false, 38)) ? ($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); })()), "violationsCount", [], "any", false, false, false, 38), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 38, $this->source); })()), "calls", [], "any", false, false, false, 38)), "html", null, true)));
|
||||
yield "
|
||||
</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 41
|
||||
yield "
|
||||
";
|
||||
// line 42
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 43
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Validator calls</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 45
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 45, $this->source); })()), "calls", [], "any", false, false, false, 45)), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Number of violations</b>
|
||||
<span class=\"sf-toolbar-status";
|
||||
// line 49
|
||||
yield (((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.', 49, $this->source); })()), "violationsCount", [], "any", false, false, false, 49) > 0)) ? (" sf-toolbar-status-red") : (""));
|
||||
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.', 49, $this->source); })()), "violationsCount", [], "any", false, false, false, 49), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 52
|
||||
yield "
|
||||
";
|
||||
// line 53
|
||||
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.', 53, $this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 53, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 57
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 58
|
||||
yield " <span class=\"label";
|
||||
yield (((($tmp = 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.', 58, $this->source); })()), "violationsCount", [], "any", false, false, false, 58)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" label-status-error") : (""));
|
||||
yield " ";
|
||||
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.', 58, $this->source); })()), "calls", [], "any", false, false, false, 58))) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 59
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/validator.svg");
|
||||
yield "</span>
|
||||
<strong>Validator</strong>
|
||||
";
|
||||
// line 61
|
||||
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.', 61, $this->source); })()), "violationsCount", [], "any", false, false, false, 61) > 0)) {
|
||||
// line 62
|
||||
yield " <span class=\"count\">
|
||||
<span>";
|
||||
// line 63
|
||||
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.', 63, $this->source); })()), "violationsCount", [], "any", false, false, false, 63), "html", null, true);
|
||||
yield "</span>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 66
|
||||
yield " </span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 69
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 70
|
||||
yield " <h2>Validator calls</h2>
|
||||
|
||||
";
|
||||
// line 72
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 72, $this->source); })()), "calls", [], "any", false, false, false, 72));
|
||||
$context['_iterated'] = false;
|
||||
$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["_key"] => $context["call"]) {
|
||||
// line 73
|
||||
yield " <div class=\"sf-validator sf-reset\">
|
||||
<span class=\"metadata\">In
|
||||
";
|
||||
// line 75
|
||||
$context["caller"] = CoreExtension::getAttribute($this->env, $this->source, $context["call"], "caller", [], "any", false, false, false, 75);
|
||||
// line 76
|
||||
yield " ";
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 76, $this->source); })()), "line", [], "any", false, false, false, 76)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 77
|
||||
yield " ";
|
||||
$context["link"] = $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 77, $this->source); })()), "file", [], "any", false, false, false, 77), CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 77, $this->source); })()), "line", [], "any", false, false, false, 77));
|
||||
// line 78
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 78, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 79
|
||||
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.', 79, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 79, $this->source); })()), "file", [], "any", false, false, false, 79), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 79, $this->source); })()), "name", [], "any", false, false, false, 79), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 81
|
||||
yield " <abbr title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 81, $this->source); })()), "file", [], "any", false, false, false, 81), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 81, $this->source); })()), "name", [], "any", false, false, false, 81), "html", null, true);
|
||||
yield "</abbr>
|
||||
";
|
||||
}
|
||||
// line 83
|
||||
yield " ";
|
||||
} else {
|
||||
// line 84
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 84, $this->source); })()), "name", [], "any", false, false, false, 84), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 86
|
||||
yield " line <button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 86), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 86, $this->source); })()), "line", [], "any", false, false, false, 86), "html", null, true);
|
||||
yield "</button> (<button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-context-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 86), "html", null, true);
|
||||
yield "\">context</button>):
|
||||
</span>
|
||||
|
||||
<div class=\"sf-validator-compact hidden\" id=\"sf-trace-";
|
||||
// line 89
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 89), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"trace\">
|
||||
";
|
||||
// line 91
|
||||
yield Twig\Extension\CoreExtension::replace($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->fileExcerpt(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 91, $this->source); })()), "file", [], "any", false, false, false, 91), CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 91, $this->source); })()), "line", [], "any", false, false, false, 91)), ["#DD0000" => "var(--highlight-string)", "#007700" => "var(--highlight-keyword)", "#0000BB" => "var(--highlight-default)", "#FF8000" => "var(--highlight-comment)"]);
|
||||
// line 96
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-validator-compact hidden sf-validator-context\" id=\"sf-context-";
|
||||
// line 100
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 100), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 101
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["call"], "context", [], "any", false, false, false, 101), 1);
|
||||
yield "
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 104
|
||||
if ((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["call"], "violations", [], "any", false, false, false, 104))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 105
|
||||
yield " <table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Path</th>
|
||||
<th>Message</th>
|
||||
<th>Invalid value</th>
|
||||
<th>Violation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
";
|
||||
// line 114
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["call"], "violations", [], "any", false, false, false, 114));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["violation"]) {
|
||||
// line 115
|
||||
yield " <tr>
|
||||
<td>";
|
||||
// line 116
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["violation"], "propertyPath", [], "any", false, false, false, 116), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 117
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["violation"], "message", [], "any", false, false, false, 117), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 118
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["violation"], "seek", ["invalidValue"], "method", false, false, false, 118));
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 119
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["violation"]);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['violation'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 122
|
||||
yield " </table>
|
||||
";
|
||||
} else {
|
||||
// line 124
|
||||
yield " No violations
|
||||
";
|
||||
}
|
||||
// line 126
|
||||
yield " </div>
|
||||
";
|
||||
$context['_iterated'] = true;
|
||||
++$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'];
|
||||
}
|
||||
}
|
||||
// line 127
|
||||
if (!$context['_iterated']) {
|
||||
// line 128
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No calls to the validator were collected.</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['call'], $context['_parent'], $context['_iterated'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/validator.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 418 => 128, 416 => 127, 403 => 126, 399 => 124, 395 => 122, 386 => 119, 382 => 118, 378 => 117, 374 => 116, 371 => 115, 367 => 114, 356 => 105, 354 => 104, 348 => 101, 344 => 100, 338 => 96, 336 => 91, 331 => 89, 320 => 86, 314 => 84, 311 => 83, 303 => 81, 293 => 79, 290 => 78, 287 => 77, 284 => 76, 282 => 75, 278 => 73, 260 => 72, 256 => 70, 243 => 69, 231 => 66, 225 => 63, 222 => 62, 220 => 61, 215 => 59, 208 => 58, 195 => 57, 181 => 53, 178 => 52, 169 => 49, 162 => 45, 158 => 43, 156 => 42, 153 => 41, 146 => 38, 140 => 36, 137 => 35, 134 => 34, 131 => 33, 118 => 32, 79 => 4, 66 => 3, 43 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
#collector-content .sf-validator {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
#collector-content .sf-validator .sf-validator-context,
|
||||
#collector-content .sf-validator .trace {
|
||||
border: var(--border);
|
||||
background: var(--base-0);
|
||||
padding: 10px;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
#collector-content .sf-validator .trace {
|
||||
font-size: 12px;
|
||||
}
|
||||
#collector-content .sf-validator .trace li {
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#collector-content .sf-validator .trace li.selected {
|
||||
background: var(--highlight-selected-line);
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.violationsCount > 0 or collector.calls|length %}
|
||||
{% set status_color = collector.violationsCount ? 'red' %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/validator.svg') }}
|
||||
<span class=\"sf-toolbar-value\">
|
||||
{{ collector.violationsCount ?: collector.calls|length }}
|
||||
</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Validator calls</b>
|
||||
<span class=\"sf-toolbar-status\">{{ collector.calls|length }}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Number of violations</b>
|
||||
<span class=\"sf-toolbar-status {{- collector.violationsCount > 0 ? ' sf-toolbar-status-red' }}\">{{ collector.violationsCount }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{- collector.violationsCount ? ' label-status-error' }} {{ collector.calls is empty ? 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/validator.svg') }}</span>
|
||||
<strong>Validator</strong>
|
||||
{% if collector.violationsCount > 0 %}
|
||||
<span class=\"count\">
|
||||
<span>{{ collector.violationsCount }}</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Validator calls</h2>
|
||||
|
||||
{% for call in collector.calls %}
|
||||
<div class=\"sf-validator sf-reset\">
|
||||
<span class=\"metadata\">In
|
||||
{% set caller = call.caller %}
|
||||
{% if caller.line %}
|
||||
{% set link = caller.file|file_link(caller.line) %}
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ caller.file }}\">{{ caller.name }}</a>
|
||||
{% else %}
|
||||
<abbr title=\"{{ caller.file }}\">{{ caller.name }}</abbr>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ caller.name }}
|
||||
{% endif %}
|
||||
line <button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ loop.index0 }}\">{{ caller.line }}</button> (<button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-context-{{ loop.index0 }}\">context</button>):
|
||||
</span>
|
||||
|
||||
<div class=\"sf-validator-compact hidden\" id=\"sf-trace-{{ loop.index0 }}\">
|
||||
<div class=\"trace\">
|
||||
{{ caller.file|file_excerpt(caller.line)|replace({
|
||||
'#DD0000': 'var(--highlight-string)',
|
||||
'#007700': 'var(--highlight-keyword)',
|
||||
'#0000BB': 'var(--highlight-default)',
|
||||
'#FF8000': 'var(--highlight-comment)'
|
||||
})|raw }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-validator-compact hidden sf-validator-context\" id=\"sf-context-{{ loop.index0 }}\">
|
||||
{{ profiler_dump(call.context, maxDepth=1) }}
|
||||
</div>
|
||||
|
||||
{% if call.violations|length %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Path</th>
|
||||
<th>Message</th>
|
||||
<th>Invalid value</th>
|
||||
<th>Violation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for violation in call.violations %}
|
||||
<tr>
|
||||
<td>{{ violation.propertyPath }}</td>
|
||||
<td>{{ violation.message }}</td>
|
||||
<td>{{ profiler_dump(violation.seek('invalidValue')) }}</td>
|
||||
<td>{{ profiler_dump(violation) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% else %}
|
||||
No violations
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No calls to the validator were collected.</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/validator.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/validator.html.twig");
|
||||
}
|
||||
}
|
||||
1494
var/cache/dev/twig/59/5911c28c876c0d5f308814a62691eaee.php
vendored
Normal file
1494
var/cache/dev/twig/59/5911c28c876c0d5f308814a62691eaee.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
995
var/cache/dev/twig/59/59895f51517de2e186faa2c34e03e575.php
vendored
Normal file
995
var/cache/dev/twig/59/59895f51517de2e186faa2c34e03e575.php
vendored
Normal file
@@ -0,0 +1,995 @@
|
||||
<?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/Collector/translation.html.twig */
|
||||
class __TwigTemplate_a25913333f887e2e4d2d594a452d3bbb 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
'messages' => [$this, 'block_messages'],
|
||||
'defined_messages' => [$this, 'block_defined_messages'],
|
||||
'fallback_messages' => [$this, 'block_fallback_messages'],
|
||||
'missing_messages' => [$this, 'block_missing_messages'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/translation.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/Collector/translation.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
if ((($tmp = 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.', 4, $this->source); })()), "messages", [], "any", false, false, false, 4))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 6
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/translation.svg");
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
$context["status_color"] = (((($tmp = 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.', 7, $this->source); })()), "countMissings", [], "any", false, false, false, 7)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("red") : ((((($tmp = 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.', 7, $this->source); })()), "countFallbacks", [], "any", false, false, false, 7)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yellow") : (""))));
|
||||
// line 8
|
||||
yield " ";
|
||||
$context["error_count"] = (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.', 8, $this->source); })()), "countMissings", [], "any", false, false, false, 8) + 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.', 8, $this->source); })()), "countFallbacks", [], "any", false, false, false, 8));
|
||||
// line 9
|
||||
yield " <span class=\"sf-toolbar-value\">";
|
||||
yield (((isset($context["error_count"]) || array_key_exists("error_count", $context) ? $context["error_count"] : (function () { throw new RuntimeError('Variable "error_count" does not exist.', 9, $this->source); })())) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["error_count"], "html", null, true)) : ($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.', 9, $this->source); })()), "countDefines", [], "any", false, false, false, 9), "html", null, true)));
|
||||
yield "</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 11
|
||||
yield "
|
||||
";
|
||||
// line 12
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 13
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Default locale</b>
|
||||
<span class=\"sf-toolbar-status\">
|
||||
";
|
||||
// line 16
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "locale", [], "any", true, true, false, 16)) ? (Twig\Extension\CoreExtension::default(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); })()), "locale", [], "any", false, false, false, 16), "-")) : ("-")), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Missing messages</b>
|
||||
<span class=\"sf-toolbar-status sf-toolbar-status-";
|
||||
// line 21
|
||||
yield (((($tmp = 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.', 21, $this->source); })()), "countMissings", [], "any", false, false, false, 21)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("red") : (""));
|
||||
yield "\">
|
||||
";
|
||||
// line 22
|
||||
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.', 22, $this->source); })()), "countMissings", [], "any", false, false, false, 22), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Fallback messages</b>
|
||||
<span class=\"sf-toolbar-status sf-toolbar-status-";
|
||||
// line 28
|
||||
yield (((($tmp = 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); })()), "countFallbacks", [], "any", false, false, false, 28)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yellow") : (""));
|
||||
yield "\">
|
||||
";
|
||||
// line 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); })()), "countFallbacks", [], "any", false, false, false, 29), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Defined messages</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 35
|
||||
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.', 35, $this->source); })()), "countDefines", [], "any", false, false, false, 35), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 38
|
||||
yield "
|
||||
";
|
||||
// line 39
|
||||
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.', 39, $this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 39, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 43
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 44
|
||||
yield " <span class=\"label label-status-";
|
||||
yield (((($tmp = 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); })()), "countMissings", [], "any", false, false, false, 44)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("error") : ((((($tmp = 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); })()), "countFallbacks", [], "any", false, false, false, 44)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("warning") : (""))));
|
||||
yield " ";
|
||||
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.', 44, $this->source); })()), "messages", [], "any", false, false, false, 44))) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 45
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/translation.svg");
|
||||
yield "</span>
|
||||
<strong>Translation</strong>
|
||||
";
|
||||
// line 47
|
||||
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.', 47, $this->source); })()), "countMissings", [], "any", false, false, false, 47) || 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.', 47, $this->source); })()), "countFallbacks", [], "any", false, false, false, 47))) {
|
||||
// line 48
|
||||
yield " ";
|
||||
$context["error_count"] = (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.', 48, $this->source); })()), "countMissings", [], "any", false, false, false, 48) + 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.', 48, $this->source); })()), "countFallbacks", [], "any", false, false, false, 48));
|
||||
// line 49
|
||||
yield " <span class=\"count\">
|
||||
<span>";
|
||||
// line 50
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["error_count"]) || array_key_exists("error_count", $context) ? $context["error_count"] : (function () { throw new RuntimeError('Variable "error_count" does not exist.', 50, $this->source); })()), "html", null, true);
|
||||
yield "</span>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 53
|
||||
yield " </span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 56
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 57
|
||||
yield " <h2>Translation</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 61
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "locale", [], "any", true, true, false, 61)) ? (Twig\Extension\CoreExtension::default(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.', 61, $this->source); })()), "locale", [], "any", false, false, false, 61), "-")) : ("-")), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Default locale</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 65
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default(Twig\Extension\CoreExtension::join(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.', 65, $this->source); })()), "fallbackLocales", [], "any", false, false, false, 65), ", "), "-"), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Fallback locale";
|
||||
// line 66
|
||||
yield (((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.', 66, $this->source); })()), "fallbackLocales", [], "any", false, false, false, 66)) != 1)) ? ("s") : (""));
|
||||
yield "</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Messages</h2>
|
||||
|
||||
";
|
||||
// line 72
|
||||
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.', 72, $this->source); })()), "messages", [], "any", false, false, false, 72))) {
|
||||
// line 73
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No translations have been called.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 77
|
||||
yield " ";
|
||||
yield from $this->unwrap()->yieldBlock('messages', $context, $blocks);
|
||||
// line 157
|
||||
yield " ";
|
||||
}
|
||||
// line 158
|
||||
yield "
|
||||
";
|
||||
// line 159
|
||||
if ((($tmp = ((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "globalParameters", [], "any", true, true, false, 159)) ? (Twig\Extension\CoreExtension::default(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); })()), "globalParameters", [], "any", false, false, false, 159), [])) : ([]))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 160
|
||||
yield " <h2>Global parameters</h2>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Message ID</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 170
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 170, $this->source); })()), "globalParameters", [], "any", false, false, false, 170));
|
||||
foreach ($context['_seq'] as $context["id"] => $context["value"]) {
|
||||
// line 171
|
||||
yield " <tr>
|
||||
<td class=\"font-normal text-small nowrap\">";
|
||||
// line 172
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["id"], "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"font-normal text-small nowrap\">";
|
||||
// line 173
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["value"]);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['id'], $context['value'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 176
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 179
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 77
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_messages(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", "messages"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messages"));
|
||||
|
||||
// line 78
|
||||
yield "
|
||||
";
|
||||
// line 80
|
||||
yield " ";
|
||||
[$context["messages_defined"], $context["messages_missing"], $context["messages_fallback"]] = [[], [], []];
|
||||
// line 81
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 81, $this->source); })()), "messages", [], "any", false, false, false, 81));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
|
||||
// line 82
|
||||
yield " ";
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 82) == Twig\Extension\CoreExtension::constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_DEFINED"))) {
|
||||
// line 83
|
||||
yield " ";
|
||||
$context["messages_defined"] = Twig\Extension\CoreExtension::merge((isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 83, $this->source); })()), [$context["message"]]);
|
||||
// line 84
|
||||
yield " ";
|
||||
} elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 84) == Twig\Extension\CoreExtension::constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_MISSING"))) {
|
||||
// line 85
|
||||
yield " ";
|
||||
$context["messages_missing"] = Twig\Extension\CoreExtension::merge((isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 85, $this->source); })()), [$context["message"]]);
|
||||
// line 86
|
||||
yield " ";
|
||||
} elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "state", [], "any", false, false, false, 86) == Twig\Extension\CoreExtension::constant("Symfony\\Component\\Translation\\DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK"))) {
|
||||
// line 87
|
||||
yield " ";
|
||||
$context["messages_fallback"] = Twig\Extension\CoreExtension::merge((isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 87, $this->source); })()), [$context["message"]]);
|
||||
// line 88
|
||||
yield " ";
|
||||
}
|
||||
// line 89
|
||||
yield " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 90
|
||||
yield "
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab ";
|
||||
// line 92
|
||||
yield (((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.', 92, $this->source); })()), "countMissings", [], "any", false, false, false, 92) == 0)) ? ("active") : (""));
|
||||
yield "\">
|
||||
<h3 class=\"tab-title\">Defined <span class=\"badge\">";
|
||||
// line 93
|
||||
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.', 93, $this->source); })()), "countDefines", [], "any", false, false, false, 93), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are correctly translated into the given locale.
|
||||
</p>
|
||||
|
||||
";
|
||||
// line 100
|
||||
if (Twig\Extension\CoreExtension::testEmpty((isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 100, $this->source); })()))) {
|
||||
// line 101
|
||||
yield " <div class=\"empty\">
|
||||
<p>None of the used translation messages are defined for the given locale.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 105
|
||||
yield " ";
|
||||
yield from $this->unwrap()->yieldBlock('defined_messages', $context, $blocks);
|
||||
// line 108
|
||||
yield " ";
|
||||
}
|
||||
// line 109
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Fallback <span class=\"badge ";
|
||||
// line 113
|
||||
yield (((($tmp = 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.', 113, $this->source); })()), "countFallbacks", [], "any", false, false, false, 113)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("status-warning") : (""));
|
||||
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.', 113, $this->source); })()), "countFallbacks", [], "any", false, false, false, 113), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are not available for the given locale
|
||||
but Symfony found them in the fallback locale catalog.
|
||||
</p>
|
||||
|
||||
";
|
||||
// line 121
|
||||
if (Twig\Extension\CoreExtension::testEmpty((isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 121, $this->source); })()))) {
|
||||
// line 122
|
||||
yield " <div class=\"empty\">
|
||||
<p>No fallback translation messages were used.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 126
|
||||
yield " ";
|
||||
yield from $this->unwrap()->yieldBlock('fallback_messages', $context, $blocks);
|
||||
// line 129
|
||||
yield " ";
|
||||
}
|
||||
// line 130
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab ";
|
||||
// line 133
|
||||
yield (((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.', 133, $this->source); })()), "countMissings", [], "any", false, false, false, 133) > 0)) ? ("active") : (""));
|
||||
yield "\">
|
||||
<h3 class=\"tab-title\">Missing <span class=\"badge ";
|
||||
// line 134
|
||||
yield (((($tmp = 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.', 134, $this->source); })()), "countMissings", [], "any", false, false, false, 134)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("status-error") : (""));
|
||||
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.', 134, $this->source); })()), "countMissings", [], "any", false, false, false, 134), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are not available for the given locale and cannot
|
||||
be found in the fallback locales. Add them to the translation
|
||||
catalogue to avoid Symfony outputting untranslated contents.
|
||||
</p>
|
||||
|
||||
";
|
||||
// line 143
|
||||
if (Twig\Extension\CoreExtension::testEmpty((isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 143, $this->source); })()))) {
|
||||
// line 144
|
||||
yield " <div class=\"empty\">
|
||||
<p>There are no messages of this category.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 148
|
||||
yield " ";
|
||||
yield from $this->unwrap()->yieldBlock('missing_messages', $context, $blocks);
|
||||
// line 151
|
||||
yield " ";
|
||||
}
|
||||
// line 152
|
||||
yield " </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 105
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_defined_messages(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", "defined_messages"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "defined_messages"));
|
||||
|
||||
// line 106
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_render_table", $context, 106, $this->getSourceContext())->macro_render_table(...[(isset($context["messages_defined"]) || array_key_exists("messages_defined", $context) ? $context["messages_defined"] : (function () { throw new RuntimeError('Variable "messages_defined" does not exist.', 106, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 126
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_fallback_messages(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", "fallback_messages"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fallback_messages"));
|
||||
|
||||
// line 127
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_render_table", $context, 127, $this->getSourceContext())->macro_render_table(...[(isset($context["messages_fallback"]) || array_key_exists("messages_fallback", $context) ? $context["messages_fallback"] : (function () { throw new RuntimeError('Variable "messages_fallback" does not exist.', 127, $this->source); })()), true]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 148
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_missing_messages(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", "missing_messages"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "missing_messages"));
|
||||
|
||||
// line 149
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_render_table", $context, 149, $this->getSourceContext())->macro_render_table(...[(isset($context["messages_missing"]) || array_key_exists("messages_missing", $context) ? $context["messages_missing"] : (function () { throw new RuntimeError('Variable "messages_missing" does not exist.', 149, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 182
|
||||
public function macro_render_table($messages = null, $is_fallback = null, ...$varargs): string|Markup
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = [
|
||||
"messages" => $messages,
|
||||
"is_fallback" => $is_fallback,
|
||||
"varargs" => $varargs,
|
||||
] + $this->env->getGlobals();
|
||||
|
||||
$blocks = [];
|
||||
|
||||
return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
|
||||
|
||||
// line 183
|
||||
yield " <table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Locale</th>
|
||||
";
|
||||
// line 187
|
||||
if ((($tmp = (isset($context["is_fallback"]) || array_key_exists("is_fallback", $context) ? $context["is_fallback"] : (function () { throw new RuntimeError('Variable "is_fallback" does not exist.', 187, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 188
|
||||
yield " <th>Fallback locale</th>
|
||||
";
|
||||
}
|
||||
// line 190
|
||||
yield " <th>Domain</th>
|
||||
<th>Times used</th>
|
||||
<th>Message ID</th>
|
||||
<th>Message Preview</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 197
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 197, $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["_key"] => $context["message"]) {
|
||||
// line 198
|
||||
yield " <tr>
|
||||
<td class=\"font-normal text-small nowrap\">";
|
||||
// line 199
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "locale", [], "any", false, false, false, 199), "html", null, true);
|
||||
yield "</td>
|
||||
";
|
||||
// line 200
|
||||
if ((($tmp = (isset($context["is_fallback"]) || array_key_exists("is_fallback", $context) ? $context["is_fallback"] : (function () { throw new RuntimeError('Variable "is_fallback" does not exist.', 200, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 201
|
||||
yield " <td class=\"font-normal text-small nowrap\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["message"], "fallbackLocale", [], "any", true, true, false, 201)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "fallbackLocale", [], "any", false, false, false, 201), "-")) : ("-")), "html", null, true);
|
||||
yield "</td>
|
||||
";
|
||||
}
|
||||
// line 203
|
||||
yield " <td class=\"font-normal text-small text-bold nowrap\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "domain", [], "any", false, false, false, 203), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"font-normal text-small nowrap\">";
|
||||
// line 204
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "count", [], "any", false, false, false, 204), "html", null, true);
|
||||
yield "</td>
|
||||
<td>
|
||||
<span class=\"";
|
||||
// line 206
|
||||
yield (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["message"], "id", [], "any", false, false, false, 206)) < 64)) ? ("nowrap") : (""));
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "id", [], "any", false, false, false, 206), "html", null, true);
|
||||
yield "</span>
|
||||
|
||||
";
|
||||
// line 208
|
||||
if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, $context["message"], "transChoiceNumber", [], "any", false, false, false, 208))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 209
|
||||
yield " <small class=\"newline\">(pluralization is used)</small>
|
||||
";
|
||||
}
|
||||
// line 211
|
||||
yield "
|
||||
";
|
||||
// line 212
|
||||
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["message"], "parameters", [], "any", false, false, false, 212)) > 0)) {
|
||||
// line 213
|
||||
yield " <button class=\"btn-link newline text-small sf-toggle\" data-toggle-selector=\"#parameters-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 213), "html", null, true);
|
||||
yield "\" data-toggle-alt-content=\"Hide parameters\">Show parameters</button>
|
||||
|
||||
<div id=\"parameters-";
|
||||
// line 215
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 215), "html", null, true);
|
||||
yield "\" class=\"hidden\">
|
||||
";
|
||||
// line 216
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "parameters", [], "any", false, false, false, 216));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["parameters"]) {
|
||||
// line 217
|
||||
yield " ";
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["parameters"], 1);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['parameters'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 219
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 221
|
||||
yield " </td>
|
||||
<td class=\"prewrap\">";
|
||||
// line 222
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["message"], "translation", [], "any", false, false, false, 222), "html", null, true);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
++$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['_key'], $context['message'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 225
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/translation.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 727 => 225, 710 => 222, 707 => 221, 703 => 219, 694 => 217, 690 => 216, 686 => 215, 680 => 213, 678 => 212, 675 => 211, 671 => 209, 669 => 208, 662 => 206, 657 => 204, 652 => 203, 646 => 201, 644 => 200, 640 => 199, 637 => 198, 620 => 197, 611 => 190, 607 => 188, 605 => 187, 599 => 183, 580 => 182, 566 => 149, 553 => 148, 539 => 127, 526 => 126, 512 => 106, 499 => 105, 484 => 152, 481 => 151, 478 => 148, 472 => 144, 470 => 143, 456 => 134, 452 => 133, 447 => 130, 444 => 129, 441 => 126, 435 => 122, 433 => 121, 420 => 113, 414 => 109, 411 => 108, 408 => 105, 402 => 101, 400 => 100, 390 => 93, 386 => 92, 382 => 90, 376 => 89, 373 => 88, 370 => 87, 367 => 86, 364 => 85, 361 => 84, 358 => 83, 355 => 82, 350 => 81, 347 => 80, 344 => 78, 331 => 77, 319 => 179, 314 => 176, 305 => 173, 301 => 172, 298 => 171, 294 => 170, 282 => 160, 280 => 159, 277 => 158, 274 => 157, 271 => 77, 265 => 73, 263 => 72, 254 => 66, 250 => 65, 243 => 61, 237 => 57, 224 => 56, 212 => 53, 206 => 50, 203 => 49, 200 => 48, 198 => 47, 193 => 45, 186 => 44, 173 => 43, 159 => 39, 156 => 38, 149 => 35, 140 => 29, 136 => 28, 127 => 22, 123 => 21, 115 => 16, 110 => 13, 108 => 12, 105 => 11, 98 => 9, 95 => 8, 93 => 7, 88 => 6, 85 => 5, 82 => 4, 69 => 3, 46 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.messages|length %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/translation.svg') }}
|
||||
{% set status_color = collector.countMissings ? 'red' : collector.countFallbacks ? 'yellow' %}
|
||||
{% set error_count = collector.countMissings + collector.countFallbacks %}
|
||||
<span class=\"sf-toolbar-value\">{{ error_count ?: collector.countDefines }}</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Default locale</b>
|
||||
<span class=\"sf-toolbar-status\">
|
||||
{{ collector.locale|default('-') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Missing messages</b>
|
||||
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.countMissings ? 'red' }}\">
|
||||
{{ collector.countMissings }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Fallback messages</b>
|
||||
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.countFallbacks ? 'yellow' }}\">
|
||||
{{ collector.countFallbacks }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Defined messages</b>
|
||||
<span class=\"sf-toolbar-status\">{{ collector.countDefines }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label label-status-{{ collector.countMissings ? 'error' : collector.countFallbacks ? 'warning' }} {{ collector.messages is empty ? 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/translation.svg') }}</span>
|
||||
<strong>Translation</strong>
|
||||
{% if collector.countMissings or collector.countFallbacks %}
|
||||
{% set error_count = collector.countMissings + collector.countFallbacks %}
|
||||
<span class=\"count\">
|
||||
<span>{{ error_count }}</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Translation</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.locale|default('-') }}</span>
|
||||
<span class=\"label\">Default locale</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.fallbackLocales|join(', ')|default('-') }}</span>
|
||||
<span class=\"label\">Fallback locale{{ collector.fallbackLocales|length != 1 ? 's' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Messages</h2>
|
||||
|
||||
{% if collector.messages is empty %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No translations have been called.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{% block messages %}
|
||||
|
||||
{# sort translation messages in groups #}
|
||||
{% set messages_defined, messages_missing, messages_fallback = [], [], [] %}
|
||||
{% for message in collector.messages %}
|
||||
{% if message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_DEFINED') %}
|
||||
{% set messages_defined = messages_defined|merge([message]) %}
|
||||
{% elseif message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_MISSING') %}
|
||||
{% set messages_missing = messages_missing|merge([message]) %}
|
||||
{% elseif message.state == constant('Symfony\\\\Component\\\\Translation\\\\DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK') %}
|
||||
{% set messages_fallback = messages_fallback|merge([message]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab {{ collector.countMissings == 0 ? 'active' }}\">
|
||||
<h3 class=\"tab-title\">Defined <span class=\"badge\">{{ collector.countDefines }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are correctly translated into the given locale.
|
||||
</p>
|
||||
|
||||
{% if messages_defined is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>None of the used translation messages are defined for the given locale.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{% block defined_messages %}
|
||||
{{ _self.render_table(messages_defined) }}
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Fallback <span class=\"badge {{ collector.countFallbacks ? 'status-warning' }}\">{{ collector.countFallbacks }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are not available for the given locale
|
||||
but Symfony found them in the fallback locale catalog.
|
||||
</p>
|
||||
|
||||
{% if messages_fallback is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No fallback translation messages were used.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{% block fallback_messages %}
|
||||
{{ _self.render_table(messages_fallback, true) }}
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab {{ collector.countMissings > 0 ? 'active' }}\">
|
||||
<h3 class=\"tab-title\">Missing <span class=\"badge {{ collector.countMissings ? 'status-error' }}\">{{ collector.countMissings }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"help\">
|
||||
These messages are not available for the given locale and cannot
|
||||
be found in the fallback locales. Add them to the translation
|
||||
catalogue to avoid Symfony outputting untranslated contents.
|
||||
</p>
|
||||
|
||||
{% if messages_missing is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>There are no messages of this category.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{% block missing_messages %}
|
||||
{{ _self.render_table(messages_missing) }}
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock messages %}
|
||||
{% endif %}
|
||||
|
||||
{% if collector.globalParameters|default([]) %}
|
||||
<h2>Global parameters</h2>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Message ID</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for id, value in collector.globalParameters %}
|
||||
<tr>
|
||||
<td class=\"font-normal text-small nowrap\">{{ id }}</td>
|
||||
<td class=\"font-normal text-small nowrap\">{{ profiler_dump(value) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% macro render_table(messages, is_fallback) %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Locale</th>
|
||||
{% if is_fallback %}
|
||||
<th>Fallback locale</th>
|
||||
{% endif %}
|
||||
<th>Domain</th>
|
||||
<th>Times used</th>
|
||||
<th>Message ID</th>
|
||||
<th>Message Preview</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for message in messages %}
|
||||
<tr>
|
||||
<td class=\"font-normal text-small nowrap\">{{ message.locale }}</td>
|
||||
{% if is_fallback %}
|
||||
<td class=\"font-normal text-small nowrap\">{{ message.fallbackLocale|default('-') }}</td>
|
||||
{% endif %}
|
||||
<td class=\"font-normal text-small text-bold nowrap\">{{ message.domain }}</td>
|
||||
<td class=\"font-normal text-small nowrap\">{{ message.count }}</td>
|
||||
<td>
|
||||
<span class=\"{{ message.id|length < 64 ? 'nowrap' }}\">{{ message.id }}</span>
|
||||
|
||||
{% if message.transChoiceNumber is not null %}
|
||||
<small class=\"newline\">(pluralization is used)</small>
|
||||
{% endif %}
|
||||
|
||||
{% if message.parameters|length > 0 %}
|
||||
<button class=\"btn-link newline text-small sf-toggle\" data-toggle-selector=\"#parameters-{{ loop.index }}\" data-toggle-alt-content=\"Hide parameters\">Show parameters</button>
|
||||
|
||||
<div id=\"parameters-{{ loop.index }}\" class=\"hidden\">
|
||||
{% for parameters in message.parameters %}
|
||||
{{ profiler_dump(parameters, maxDepth=1) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class=\"prewrap\">{{ message.translation }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endmacro %}
|
||||
", "@WebProfiler/Collector/translation.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/translation.html.twig");
|
||||
}
|
||||
}
|
||||
533
var/cache/dev/twig/5f/5f987d5f8d4fc4646dacfcaf531c78c0.php
vendored
Normal file
533
var/cache/dev/twig/5f/5f987d5f8d4fc4646dacfcaf531c78c0.php
vendored
Normal file
@@ -0,0 +1,533 @@
|
||||
<?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/Collector/events.html.twig */
|
||||
class __TwigTemplate_7f603f1304f1a415c52a3b11d8b3d630 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 = [
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/events.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/Collector/events.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 4
|
||||
yield "<span class=\"label\">
|
||||
<span class=\"icon\">";
|
||||
// line 5
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/event.svg");
|
||||
yield "</span>
|
||||
<strong>Events</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 10
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 11
|
||||
yield " <h2>Dispatched Events</h2>
|
||||
|
||||
<div class=\"sf-tabs\">
|
||||
";
|
||||
// line 14
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 14, $this->source); })()), "data", [], "any", false, false, false, 14));
|
||||
foreach ($context['_seq'] as $context["dispatcherName"] => $context["dispatcherData"]) {
|
||||
// line 15
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">";
|
||||
// line 16
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["dispatcherName"], "html", null, true);
|
||||
yield "</h3>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 18
|
||||
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 18))) {
|
||||
// line 19
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No events have been recorded. Check that debugging is enabled in the kernel.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 23
|
||||
yield " <div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Called Listeners <span class=\"badge\">";
|
||||
// line 25
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 25)), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 28
|
||||
yield $this->getTemplateForMacro("macro_render_table", $context, 28, $this->getSourceContext())->macro_render_table(...[CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 28)]);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Not Called Listeners <span class=\"badge\">";
|
||||
// line 33
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 33)), "html", null, true);
|
||||
yield "</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 35
|
||||
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 35))) {
|
||||
// line 36
|
||||
yield " <div class=\"empty\">
|
||||
<p>
|
||||
<strong>There are no uncalled listeners</strong>.
|
||||
</p>
|
||||
<p>
|
||||
All listeners were called or an error occurred
|
||||
when trying to collect uncalled listeners (in which case check the
|
||||
logs to get more information).
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 47
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_render_table", $context, 47, $this->getSourceContext())->macro_render_table(...[CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 47)]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 49
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Orphaned Events <span class=\"badge\">";
|
||||
// line 53
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 53)), "html", null, true);
|
||||
yield "</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 55
|
||||
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 55))) {
|
||||
// line 56
|
||||
yield " <div class=\"empty\">
|
||||
<p>
|
||||
<strong>There are no orphaned events</strong>.
|
||||
</p>
|
||||
<p>
|
||||
All dispatched events were handled or an error occurred
|
||||
when trying to collect orphaned events (in which case check the
|
||||
logs to get more information).
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 67
|
||||
yield " <table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Event</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 74
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 74));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
|
||||
// line 75
|
||||
yield " <tr>
|
||||
<td class=\"font-normal\">";
|
||||
// line 76
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["event"], "html", null, true);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['event'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 79
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 82
|
||||
yield " </div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 86
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['dispatcherName'], $context['dispatcherData'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 89
|
||||
yield " </div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 92
|
||||
public function macro_render_table($listeners = null, ...$varargs): string|Markup
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = [
|
||||
"listeners" => $listeners,
|
||||
"varargs" => $varargs,
|
||||
] + $this->env->getGlobals();
|
||||
|
||||
$blocks = [];
|
||||
|
||||
return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table"));
|
||||
|
||||
// line 93
|
||||
yield " <table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class=\"text-right\">Priority</th>
|
||||
<th>Listener</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
";
|
||||
// line 101
|
||||
$context["previous_event"] = CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 101, $this->source); })())), "event", [], "any", false, false, false, 101);
|
||||
// line 102
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 102, $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["_key"] => $context["listener"]) {
|
||||
// line 103
|
||||
yield " ";
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 103) || (CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 103) != (isset($context["previous_event"]) || array_key_exists("previous_event", $context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.', 103, $this->source); })())))) {
|
||||
// line 104
|
||||
yield " ";
|
||||
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 104)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 105
|
||||
yield " </tbody>
|
||||
";
|
||||
}
|
||||
// line 107
|
||||
yield "
|
||||
<tbody>
|
||||
<tr>
|
||||
<th colspan=\"2\" class=\"colored font-normal\">";
|
||||
// line 110
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 110), "html", null, true);
|
||||
yield "</th>
|
||||
</tr>
|
||||
|
||||
";
|
||||
// line 113
|
||||
$context["previous_event"] = CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 113);
|
||||
// line 114
|
||||
yield " ";
|
||||
}
|
||||
// line 115
|
||||
yield "
|
||||
<tr>
|
||||
<td class=\"text-right nowrap\">";
|
||||
// line 117
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "priority", [], "any", true, true, false, 117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "priority", [], "any", false, false, false, 117), "-")) : ("-")), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"font-normal\">";
|
||||
// line 118
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "stub", [], "any", false, false, false, 118));
|
||||
yield "</td>
|
||||
</tr>
|
||||
|
||||
";
|
||||
// line 121
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 121)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 122
|
||||
yield " </tbody>
|
||||
";
|
||||
}
|
||||
// line 124
|
||||
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['_key'], $context['listener'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 125
|
||||
yield " </table>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/events.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 367 => 125, 353 => 124, 349 => 122, 347 => 121, 341 => 118, 337 => 117, 333 => 115, 330 => 114, 328 => 113, 322 => 110, 317 => 107, 313 => 105, 310 => 104, 307 => 103, 289 => 102, 287 => 101, 277 => 93, 259 => 92, 247 => 89, 239 => 86, 233 => 82, 228 => 79, 219 => 76, 216 => 75, 212 => 74, 203 => 67, 190 => 56, 188 => 55, 183 => 53, 177 => 49, 171 => 47, 158 => 36, 156 => 35, 151 => 33, 143 => 28, 137 => 25, 133 => 23, 127 => 19, 125 => 18, 120 => 16, 117 => 15, 113 => 14, 108 => 11, 95 => 10, 80 => 5, 77 => 4, 64 => 3, 41 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/event.svg') }}</span>
|
||||
<strong>Events</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Dispatched Events</h2>
|
||||
|
||||
<div class=\"sf-tabs\">
|
||||
{% for dispatcherName, dispatcherData in collector.data %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">{{ dispatcherName }}</h3>
|
||||
<div class=\"tab-content\">
|
||||
{% if dispatcherData['called_listeners'] is empty %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No events have been recorded. Check that debugging is enabled in the kernel.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Called Listeners <span class=\"badge\">{{ dispatcherData['called_listeners']|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
{{ _self.render_table(dispatcherData['called_listeners']) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Not Called Listeners <span class=\"badge\">{{ dispatcherData['not_called_listeners']|length }}</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
{% if dispatcherData['not_called_listeners'] is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>
|
||||
<strong>There are no uncalled listeners</strong>.
|
||||
</p>
|
||||
<p>
|
||||
All listeners were called or an error occurred
|
||||
when trying to collect uncalled listeners (in which case check the
|
||||
logs to get more information).
|
||||
</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ _self.render_table(dispatcherData['not_called_listeners']) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Orphaned Events <span class=\"badge\">{{ dispatcherData['orphaned_events']|length }}</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
{% if dispatcherData['orphaned_events'] is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>
|
||||
<strong>There are no orphaned events</strong>.
|
||||
</p>
|
||||
<p>
|
||||
All dispatched events were handled or an error occurred
|
||||
when trying to collect orphaned events (in which case check the
|
||||
logs to get more information).
|
||||
</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Event</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for event in dispatcherData['orphaned_events'] %}
|
||||
<tr>
|
||||
<td class=\"font-normal\">{{ event }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% macro render_table(listeners) %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class=\"text-right\">Priority</th>
|
||||
<th>Listener</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{% set previous_event = (listeners|first).event %}
|
||||
{% for listener in listeners %}
|
||||
{% if loop.first or listener.event != previous_event %}
|
||||
{% if not loop.first %}
|
||||
</tbody>
|
||||
{% endif %}
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th colspan=\"2\" class=\"colored font-normal\">{{ listener.event }}</th>
|
||||
</tr>
|
||||
|
||||
{% set previous_event = listener.event %}
|
||||
{% endif %}
|
||||
|
||||
<tr>
|
||||
<td class=\"text-right nowrap\">{{ listener.priority|default('-') }}</td>
|
||||
<td class=\"font-normal\">{{ profiler_dump(listener.stub) }}</td>
|
||||
</tr>
|
||||
|
||||
{% if loop.last %}
|
||||
</tbody>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endmacro %}
|
||||
", "@WebProfiler/Collector/events.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/events.html.twig");
|
||||
}
|
||||
}
|
||||
1008
var/cache/dev/twig/69/6936b0cc7d4bdcf65bd490c287400696.php
vendored
Normal file
1008
var/cache/dev/twig/69/6936b0cc7d4bdcf65bd490c287400696.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
183
var/cache/dev/twig/72/725c54502b6e8372923823469ec8872c.php
vendored
Normal file
183
var/cache/dev/twig/72/725c54502b6e8372923823469ec8872c.php
vendored
Normal file
@@ -0,0 +1,183 @@
|
||||
<?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/info.html.twig */
|
||||
class __TwigTemplate_41bb69819cd9d04031abb030d0d8b9c8 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 = [
|
||||
'summary' => [$this, 'block_summary'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/info.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/info.html.twig"));
|
||||
|
||||
// line 3
|
||||
$context["messages"] = ["no_token" => ["status" => "error", "title" => ((((( // line 6
|
||||
array_key_exists("token", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 6, $this->source); })()), "")) : ("")) == "latest")) ? ("There are no profiles") : ("Token not found")), "message" => ((((( // line 7
|
||||
array_key_exists("token", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 7, $this->source); })()), "")) : ("")) == "latest")) ? ("No profiles found.") : ((("Token \"" . ((array_key_exists("token", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 7, $this->source); })()), "")) : (""))) . "\" not found.")))]];
|
||||
// line 1
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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 11
|
||||
/**
|
||||
* @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 12
|
||||
yield " <div class=\"status status-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 12, $this->source); })()), (isset($context["about"]) || array_key_exists("about", $context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.', 12, $this->source); })()), [], "array", false, false, false, 12), "status", [], "any", false, false, false, 12), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"container\">
|
||||
<h2>";
|
||||
// line 14
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 14, $this->source); })()), (isset($context["about"]) || array_key_exists("about", $context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.', 14, $this->source); })()), [], "array", false, false, false, 14), "status", [], "any", false, false, false, 14)), "html", null, true);
|
||||
yield "</h2>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 19
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 20
|
||||
yield " <h2>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 20, $this->source); })()), (isset($context["about"]) || array_key_exists("about", $context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.', 20, $this->source); })()), [], "array", false, false, false, 20), "title", [], "any", false, false, false, 20), "html", null, true);
|
||||
yield "</h2>
|
||||
<p>";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 21, $this->source); })()), (isset($context["about"]) || array_key_exists("about", $context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.', 21, $this->source); })()), [], "array", false, false, false, 21), "message", [], "any", false, false, false, 21), "html", null, true);
|
||||
yield "</p>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/info.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 121 => 21, 116 => 20, 103 => 19, 88 => 14, 82 => 12, 69 => 11, 58 => 1, 56 => 7, 55 => 6, 54 => 3, 41 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% set messages = {
|
||||
'no_token' : {
|
||||
status: 'error',
|
||||
title: (token|default('') == 'latest') ? 'There are no profiles' : 'Token not found',
|
||||
message: (token|default('') == 'latest') ? 'No profiles found.' : 'Token \"' ~ token|default('') ~ '\" not found.'
|
||||
}
|
||||
} %}
|
||||
|
||||
{% block summary %}
|
||||
<div class=\"status status-{{ messages[about].status }}\">
|
||||
<div class=\"container\">
|
||||
<h2>{{ messages[about].status|title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>{{ messages[about].title }}</h2>
|
||||
<p>{{ messages[about].message }}</p>
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Profiler/info.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/info.html.twig");
|
||||
}
|
||||
}
|
||||
1683
var/cache/dev/twig/77/774f5647402c84c32c1348253a7359ca.php
vendored
Normal file
1683
var/cache/dev/twig/77/774f5647402c84c32c1348253a7359ca.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
427
var/cache/dev/twig/7e/7e8b01cd88afb7a0dcc911a5ba11f290.php
vendored
Normal file
427
var/cache/dev/twig/7e/7e8b01cd88afb7a0dcc911a5ba11f290.php
vendored
Normal file
@@ -0,0 +1,427 @@
|
||||
<?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/_request_summary.html.twig */
|
||||
class __TwigTemplate_75f8d0057cbd533edcb9a61e42f153d4 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/_request_summary.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/_request_summary.html.twig"));
|
||||
|
||||
// line 1
|
||||
$context["status_code"] = (((($tmp = (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 1, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((CoreExtension::getAttribute($this->env, $this->source, ($context["request_collector"] ?? null), "statuscode", [], "any", true, true, false, 1)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 1, $this->source); })()), "statuscode", [], "any", false, false, false, 1), 0)) : (0))) : (0));
|
||||
// line 2
|
||||
$context["css_class"] = ((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 2, $this->source); })()) > 399)) ? ("status-error") : (((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 2, $this->source); })()) > 299)) ? ("status-warning") : ("status-success"))));
|
||||
// line 3
|
||||
yield "
|
||||
";
|
||||
// line 4
|
||||
if (((isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 4, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 4, $this->source); })()), "redirect", [], "any", false, false, false, 4))) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$context["redirect"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 5, $this->source); })()), "redirect", [], "any", false, false, false, 5);
|
||||
// line 6
|
||||
yield " ";
|
||||
$context["link_to_source_code"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["redirect"] ?? null), "controller", [], "any", false, true, false, 6), "class", [], "any", true, true, false, 6)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 6, $this->source); })()), "controller", [], "any", false, false, false, 6), "file", [], "any", false, false, false, 6), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 6, $this->source); })()), "controller", [], "any", false, false, false, 6), "line", [], "any", false, false, false, 6))) : (""));
|
||||
// line 7
|
||||
yield " ";
|
||||
$context["redirect_route_name"] = ("@" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 7, $this->source); })()), "route", [], "any", false, false, false, 7));
|
||||
// line 8
|
||||
yield "
|
||||
<div class=\"status status-compact status-warning\">
|
||||
<span class=\"icon icon-redirect\">";
|
||||
// line 10
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/redirect.svg");
|
||||
yield "</span>
|
||||
|
||||
<span class=\"status-response-status-code\">";
|
||||
// line 12
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 12, $this->source); })()), "status_code", [], "any", false, false, false, 12), "html", null, true);
|
||||
yield "</span> redirect from
|
||||
|
||||
<span class=\"status-request-method\">";
|
||||
// line 14
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 14, $this->source); })()), "method", [], "any", false, false, false, 14), "html", null, true);
|
||||
yield "</span>
|
||||
|
||||
";
|
||||
// line 16
|
||||
if ((($tmp = (isset($context["link_to_source_code"]) || array_key_exists("link_to_source_code", $context) ? $context["link_to_source_code"] : (function () { throw new RuntimeError('Variable "link_to_source_code" does not exist.', 16, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 17
|
||||
yield " <a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link_to_source_code"]) || array_key_exists("link_to_source_code", $context) ? $context["link_to_source_code"] : (function () { throw new RuntimeError('Variable "link_to_source_code" does not exist.', 17, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 17, $this->source); })()), "controller", [], "any", false, false, false, 17), "file", [], "any", false, false, false, 17), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["redirect_route_name"]) || array_key_exists("redirect_route_name", $context) ? $context["redirect_route_name"] : (function () { throw new RuntimeError('Variable "redirect_route_name" does not exist.', 17, $this->source); })()), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 19
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["redirect_route_name"]) || array_key_exists("redirect_route_name", $context) ? $context["redirect_route_name"] : (function () { throw new RuntimeError('Variable "redirect_route_name" does not exist.', 19, $this->source); })()), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 21
|
||||
yield "
|
||||
(<a href=\"";
|
||||
// line 22
|
||||
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["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 22, $this->source); })()), "token", [], "any", false, false, false, 22), "panel" => 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.', 22, $this->source); })()), "query", [], "any", false, false, false, 22), "get", ["panel", "request"], "method", false, false, false, 22)]), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["redirect"]) || array_key_exists("redirect", $context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.', 22, $this->source); })()), "token", [], "any", false, false, false, 22), "html", null, true);
|
||||
yield "</a>)
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 25
|
||||
yield "
|
||||
<div class=\"status ";
|
||||
// line 26
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["css_class"]) || array_key_exists("css_class", $context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.', 26, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 27
|
||||
if (((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 27, $this->source); })()) > 399)) {
|
||||
// line 28
|
||||
yield " <p class=\"status-error-details\">
|
||||
<span class=\"icon\">";
|
||||
// line 29
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/alert-circle.svg");
|
||||
yield "</span>
|
||||
<span class=\"status-response-status-code\">Error ";
|
||||
// line 30
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 30, $this->source); })()), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"status-response-status-text\">";
|
||||
// line 31
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 31, $this->source); })()), "statusText", [], "any", false, false, false, 31), "html", null, true);
|
||||
yield "</span>
|
||||
</p>
|
||||
";
|
||||
}
|
||||
// line 34
|
||||
yield "
|
||||
<h2>
|
||||
<span class=\"status-request-method\">
|
||||
";
|
||||
// line 37
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($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.', 37, $this->source); })()), "method", [], "any", false, false, false, 37)), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
|
||||
";
|
||||
// line 40
|
||||
$context["profile_title"] = (((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.', 40, $this->source); })()), "url", [], "any", false, false, false, 40)) < 160)) ? (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.', 40, $this->source); })()), "url", [], "any", false, false, false, 40)) : ((Twig\Extension\CoreExtension::slice($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.', 40, $this->source); })()), "url", [], "any", false, false, false, 40), 0, 160) . "…")));
|
||||
// line 41
|
||||
yield " ";
|
||||
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::upper($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.', 41, $this->source); })()), "method", [], "any", false, false, false, 41)), ["GET", "HEAD"])) {
|
||||
// line 42
|
||||
yield " <a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 42, $this->source); })()), "url", [], "any", false, false, false, 42), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profile_title"]) || array_key_exists("profile_title", $context) ? $context["profile_title"] : (function () { throw new RuntimeError('Variable "profile_title" does not exist.', 42, $this->source); })()), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 44
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profile_title"]) || array_key_exists("profile_title", $context) ? $context["profile_title"] : (function () { throw new RuntimeError('Variable "profile_title" does not exist.', 44, $this->source); })()), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 46
|
||||
yield " </h2>
|
||||
|
||||
<dl class=\"metadata\">
|
||||
";
|
||||
// line 49
|
||||
if (((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 49, $this->source); })()) < 400)) {
|
||||
// line 50
|
||||
yield " <dt>Response</dt>
|
||||
<dd>
|
||||
<span class=\"status-response-status-code\">";
|
||||
// line 52
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 52, $this->source); })()), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"status-response-status-text\">";
|
||||
// line 53
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 53, $this->source); })()), "statusText", [], "any", false, false, false, 53), "html", null, true);
|
||||
yield "</span>
|
||||
</dd>
|
||||
";
|
||||
}
|
||||
// line 56
|
||||
yield "
|
||||
";
|
||||
// line 57
|
||||
$context["referer"] = (((($tmp = (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 57, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 57, $this->source); })()), "requestheaders", [], "any", false, false, false, 57), "get", ["referer"], "method", false, false, false, 57)) : (null));
|
||||
// line 58
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["referer"]) || array_key_exists("referer", $context) ? $context["referer"] : (function () { throw new RuntimeError('Variable "referer" does not exist.', 58, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 59
|
||||
yield " <dt></dt>
|
||||
<dd>
|
||||
<span class=\"icon icon-referer\">";
|
||||
// line 61
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/referrer.svg");
|
||||
yield "</span>
|
||||
<a href=\"";
|
||||
// line 62
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["referer"]) || array_key_exists("referer", $context) ? $context["referer"] : (function () { throw new RuntimeError('Variable "referer" does not exist.', 62, $this->source); })()), "html", null, true);
|
||||
yield "\" class=\"referer\">Browse referrer URL</a>
|
||||
</dd>
|
||||
";
|
||||
}
|
||||
// line 65
|
||||
yield "
|
||||
<dt>IP</dt>
|
||||
<dd>
|
||||
<a href=\"";
|
||||
// line 68
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 68, $this->source); })()), "limit" => 10, "ip" => 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.', 68, $this->source); })()), "ip", [], "any", false, false, false, 68)]), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 68, $this->source); })()), "ip", [], "any", false, false, false, 68), "html", null, true);
|
||||
yield "</a>
|
||||
</dd>
|
||||
|
||||
<dt>Profiled on</dt>
|
||||
<dd><time data-convert-to-user-timezone data-render-as-datetime datetime=\"";
|
||||
// line 72
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(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.', 72, $this->source); })()), "time", [], "any", false, false, false, 72), "c"), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(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.', 72, $this->source); })()), "time", [], "any", false, false, false, 72), "r"), "html", null, true);
|
||||
yield "</time></dd>
|
||||
|
||||
<dt>Token</dt>
|
||||
<dd>";
|
||||
// line 75
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 75, $this->source); })()), "token", [], "any", false, false, false, 75), "html", null, true);
|
||||
yield "</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 79
|
||||
if (((isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 79, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 79, $this->source); })()), "forwardtoken", [], "any", false, false, false, 79))) {
|
||||
// line 80
|
||||
$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.', 80, $this->source); })()), "childByToken", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 80, $this->source); })()), "forwardtoken", [], "any", false, false, false, 80)], "method", false, false, false, 80);
|
||||
// line 81
|
||||
yield " ";
|
||||
$context["controller"] = (((($tmp = (isset($context["forward_profile"]) || array_key_exists("forward_profile", $context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.', 81, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (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.', 81, $this->source); })()), "collector", ["request"], "method", false, false, false, 81), "controller", [], "any", false, false, false, 81)) : ("n/a"));
|
||||
// line 82
|
||||
yield " <div class=\"status status-compact status-compact-forward\">
|
||||
<span class=\"icon icon-forward\">";
|
||||
// line 83
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/forward.svg");
|
||||
yield "</span>
|
||||
|
||||
Forwarded to
|
||||
|
||||
";
|
||||
// line 87
|
||||
$context["link"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["controller"] ?? null), "file", [], "any", true, true, false, 87)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\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.', 87, $this->source); })()), "file", [], "any", false, false, false, 87), 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.', 87, $this->source); })()), "line", [], "any", false, false, false, 87))) : (null));
|
||||
// line 88
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 88, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
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.', 88, $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.', 88, $this->source); })()), "file", [], "any", false, false, false, 88), "html", null, true);
|
||||
yield "\">";
|
||||
}
|
||||
// line 89
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["controller"] ?? null), "class", [], "any", true, true, false, 89)) {
|
||||
// line 90
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->abbrClass($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.', 90, $this->source); })()), "class", [], "any", false, false, false, 90), "html", null, true))), "html", null, true);
|
||||
// line 91
|
||||
yield (((($tmp = 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.', 91, $this->source); })()), "method", [], "any", false, false, false, 91)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($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.', 91, $this->source); })()), "method", [], "any", false, false, false, 91)), "html", null, true)) : (""));
|
||||
} else {
|
||||
// line 93
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 93, $this->source); })()), "html", null, true);
|
||||
}
|
||||
// line 95
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 95, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
yield "</a>";
|
||||
}
|
||||
// line 96
|
||||
yield " (<a href=\"";
|
||||
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["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 96, $this->source); })()), "forwardtoken", [], "any", false, false, false, 96)]), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 96, $this->source); })()), "forwardtoken", [], "any", false, false, false, 96), "html", null, true);
|
||||
yield "</a>)
|
||||
|
||||
</div>";
|
||||
}
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/_request_summary.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 283 => 96, 279 => 95, 276 => 93, 273 => 91, 271 => 90, 269 => 89, 261 => 88, 259 => 87, 252 => 83, 249 => 82, 246 => 81, 244 => 80, 242 => 79, 235 => 75, 227 => 72, 218 => 68, 213 => 65, 207 => 62, 203 => 61, 199 => 59, 196 => 58, 194 => 57, 191 => 56, 185 => 53, 181 => 52, 177 => 50, 175 => 49, 170 => 46, 164 => 44, 156 => 42, 153 => 41, 151 => 40, 145 => 37, 140 => 34, 134 => 31, 130 => 30, 126 => 29, 123 => 28, 121 => 27, 117 => 26, 114 => 25, 106 => 22, 103 => 21, 97 => 19, 87 => 17, 85 => 16, 80 => 14, 75 => 12, 70 => 10, 66 => 8, 63 => 7, 60 => 6, 57 => 5, 55 => 4, 52 => 3, 50 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% set status_code = request_collector ? request_collector.statuscode|default(0) : 0 %}
|
||||
{% set css_class = status_code > 399 ? 'status-error' : status_code > 299 ? 'status-warning' : 'status-success' %}
|
||||
|
||||
{% if request_collector and request_collector.redirect %}
|
||||
{% set redirect = request_collector.redirect %}
|
||||
{% set link_to_source_code = redirect.controller.class is defined ? redirect.controller.file|file_link(redirect.controller.line) %}
|
||||
{% set redirect_route_name = '@' ~ redirect.route %}
|
||||
|
||||
<div class=\"status status-compact status-warning\">
|
||||
<span class=\"icon icon-redirect\">{{ source('@WebProfiler/Icon/redirect.svg') }}</span>
|
||||
|
||||
<span class=\"status-response-status-code\">{{ redirect.status_code }}</span> redirect from
|
||||
|
||||
<span class=\"status-request-method\">{{ redirect.method }}</span>
|
||||
|
||||
{% if link_to_source_code %}
|
||||
<a href=\"{{ link_to_source_code }}\" title=\"{{ redirect.controller.file }}\">{{ redirect_route_name }}</a>
|
||||
{% else %}
|
||||
{{ redirect_route_name }}
|
||||
{% endif %}
|
||||
|
||||
(<a href=\"{{ path('_profiler', { token: redirect.token, panel: request.query.get('panel', 'request') }) }}\">{{ redirect.token }}</a>)
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class=\"status {{ css_class }}\">
|
||||
{% if status_code > 399 %}
|
||||
<p class=\"status-error-details\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/alert-circle.svg') }}</span>
|
||||
<span class=\"status-response-status-code\">Error {{ status_code }}</span>
|
||||
<span class=\"status-response-status-text\">{{ request_collector.statusText }}</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<h2>
|
||||
<span class=\"status-request-method\">
|
||||
{{ profile.method|upper }}
|
||||
</span>
|
||||
|
||||
{% set profile_title = profile.url|length < 160 ? profile.url : profile.url[:160] ~ '…' %}
|
||||
{% if profile.method|upper in ['GET', 'HEAD'] %}
|
||||
<a href=\"{{ profile.url }}\">{{ profile_title }}</a>
|
||||
{% else %}
|
||||
{{ profile_title }}
|
||||
{% endif %}
|
||||
</h2>
|
||||
|
||||
<dl class=\"metadata\">
|
||||
{% if status_code < 400 %}
|
||||
<dt>Response</dt>
|
||||
<dd>
|
||||
<span class=\"status-response-status-code\">{{ status_code }}</span>
|
||||
<span class=\"status-response-status-text\">{{ request_collector.statusText }}</span>
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
||||
{% set referer = request_collector ? request_collector.requestheaders.get('referer') : null %}
|
||||
{% if referer %}
|
||||
<dt></dt>
|
||||
<dd>
|
||||
<span class=\"icon icon-referer\">{{ source('@WebProfiler/Icon/referrer.svg') }}</span>
|
||||
<a href=\"{{ referer }}\" class=\"referer\">Browse referrer URL</a>
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
||||
<dt>IP</dt>
|
||||
<dd>
|
||||
<a href=\"{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}\">{{ profile.ip }}</a>
|
||||
</dd>
|
||||
|
||||
<dt>Profiled on</dt>
|
||||
<dd><time data-convert-to-user-timezone data-render-as-datetime datetime=\"{{ profile.time|date('c') }}\">{{ profile.time|date('r') }}</time></dd>
|
||||
|
||||
<dt>Token</dt>
|
||||
<dd>{{ profile.token }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
{% if request_collector and request_collector.forwardtoken -%}
|
||||
{% set forward_profile = profile.childByToken(request_collector.forwardtoken) %}
|
||||
{% set controller = forward_profile ? forward_profile.collector('request').controller : 'n/a' %}
|
||||
<div class=\"status status-compact status-compact-forward\">
|
||||
<span class=\"icon icon-forward\">{{ source('@WebProfiler/Icon/forward.svg') }}</span>
|
||||
|
||||
Forwarded to
|
||||
|
||||
{% set link = controller.file is defined ? controller.file|file_link(controller.line) : null -%}
|
||||
{%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.file }}\">{% endif -%}
|
||||
{% if controller.class is defined %}
|
||||
{{- controller.class|abbr_class|striptags -}}
|
||||
{{- controller.method ? ' :: ' ~ controller.method -}}
|
||||
{% else %}
|
||||
{{- controller -}}
|
||||
{% endif %}
|
||||
{%- if link %}</a>{% endif %}
|
||||
(<a href=\"{{ path('_profiler', { token: request_collector.forwardtoken }) }}\">{{ request_collector.forwardtoken }}</a>)
|
||||
|
||||
</div>
|
||||
{%- endif %}
|
||||
", "@WebProfiler/Profiler/_request_summary.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/_request_summary.html.twig");
|
||||
}
|
||||
}
|
||||
102
var/cache/dev/twig/80/80fd89bb219b6f20216da755958c1ac6.php
vendored
Normal file
102
var/cache/dev/twig/80/80fd89bb219b6f20216da755958c1ac6.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?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/ajax_layout.html.twig */
|
||||
class __TwigTemplate_28ccac9e9a8e623ccfe92b794d2e9734 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
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/ajax_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/ajax_layout.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield from $this->unwrap()->yieldBlock('panel', $context, $blocks);
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/ajax_layout.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 49 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% block panel '' %}
|
||||
", "@WebProfiler/Profiler/ajax_layout.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/ajax_layout.html.twig");
|
||||
}
|
||||
}
|
||||
230
var/cache/dev/twig/86/86d4e878392fc11ccd59fceb9a55a7e3.php
vendored
Normal file
230
var/cache/dev/twig/86/86d4e878392fc11ccd59fceb9a55a7e3.php
vendored
Normal file
@@ -0,0 +1,230 @@
|
||||
<?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/toolbar.html.twig */
|
||||
class __TwigTemplate_724dcf62ff78e9d0326770b4d8ab2010 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/toolbar.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/toolbar.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div id=\"sfToolbarClearer-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 1, $this->source); })()), "html", null, true);
|
||||
yield "\" class=\"sf-toolbar-clearer\"></div>
|
||||
<div id=\"sfToolbarMainContent-";
|
||||
// line 2
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 2, $this->source); })()), "html", null, true);
|
||||
yield "\" class=\"sf-toolbarreset notranslate clear-fix\" data-no-turbolink data-turbo=\"false\">
|
||||
";
|
||||
// line 3
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["templates"]) || array_key_exists("templates", $context) ? $context["templates"] : (function () { throw new RuntimeError('Variable "templates" does not exist.', 3, $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 4
|
||||
yield " ";
|
||||
if ( $this->load($context["template"], 4)->unwrap()->hasBlock("toolbar", $context)) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$_v0 = $context;
|
||||
$_v1 = ["collector" => (((($tmp = // line 6
|
||||
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 6, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (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.', 6, $this->source); })()), "getcollector", [$context["name"]], "method", false, false, false, 6)) : (null)), "profiler_url" => // line 7
|
||||
(isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 7, $this->source); })()), "token" => ((( // line 8
|
||||
array_key_exists("token", $context) && !(null === $context["token"]))) ? ($context["token"]) : ((((($tmp = (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 8, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (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.', 8, $this->source); })()), "token", [], "any", false, false, false, 8)) : (null)))), "name" => // line 9
|
||||
$context["name"], "profiler_markup_version" => // line 10
|
||||
(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.', 10, $this->source); })()), "csp_script_nonce" => // line 11
|
||||
(isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce", $context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.', 11, $this->source); })()), "csp_style_nonce" => // line 12
|
||||
(isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce", $context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.', 12, $this->source); })())];
|
||||
if (!is_iterable($_v1)) {
|
||||
throw new RuntimeError('Variables passed to the "with" tag must be a mapping.', 6, $this->getSourceContext());
|
||||
}
|
||||
$_v1 = CoreExtension::toArray($_v1);
|
||||
$context = $_v1 + $context + $this->env->getGlobals();
|
||||
// line 14
|
||||
yield " ";
|
||||
yield from $this->load($context["template"], 14)->unwrap()->yieldBlock("toolbar", $context);
|
||||
yield "
|
||||
";
|
||||
$context = $_v0;
|
||||
// line 16
|
||||
yield " ";
|
||||
}
|
||||
// line 17
|
||||
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 18
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["full_stack"]) || array_key_exists("full_stack", $context) ? $context["full_stack"] : (function () { throw new RuntimeError('Variable "full_stack" does not exist.', 18, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 19
|
||||
yield " <div class=\"sf-full-stack sf-toolbar-block sf-toolbar-block-full-stack sf-toolbar-status-red sf-toolbar-block-right\">
|
||||
<div class=\"sf-toolbar-icon\">
|
||||
<span class=\"sf-toolbar-value\">Using symfony/symfony is NOT supported</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info sf-toolbar-status-red\">
|
||||
<p>This project is using Symfony via the \"symfony/symfony\" package.</p>
|
||||
<p>This is NOT supported anymore since Symfony 4.0.</p>
|
||||
<p>Even if it seems to work well, it has some important limitations with no workarounds.</p>
|
||||
<p>Using this package also makes your project slower.</p>
|
||||
|
||||
<strong>Please, stop using this package and replace it with individual packages instead.</strong>
|
||||
</div>
|
||||
<div></div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 34
|
||||
yield "
|
||||
<button class=\"sf-toolbar-toggle-button\" type=\"button\" id=\"sfToolbarToggleButton-";
|
||||
// line 35
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 35, $this->source); })()), "html", null, true);
|
||||
yield "\" accesskey=\"D\" aria-expanded=\"true\" aria-controls=\"sfToolbarMainContent-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 35, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
<i class=\"sf-toolbar-icon-opened\" title=\"Close Toolbar\">";
|
||||
// line 36
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/close.svg");
|
||||
yield "</i>
|
||||
<i class=\"sf-toolbar-icon-closed\" title=\"Open Toolbar\">";
|
||||
// line 37
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/symfony.svg");
|
||||
yield "</i>
|
||||
</button>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/toolbar.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 149 => 37, 145 => 36, 139 => 35, 136 => 34, 119 => 19, 116 => 18, 102 => 17, 99 => 16, 93 => 14, 86 => 12, 85 => 11, 84 => 10, 83 => 9, 82 => 8, 81 => 7, 80 => 6, 77 => 5, 74 => 4, 57 => 3, 53 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div id=\"sfToolbarClearer-{{ token }}\" class=\"sf-toolbar-clearer\"></div>
|
||||
<div id=\"sfToolbarMainContent-{{ token }}\" class=\"sf-toolbarreset notranslate clear-fix\" data-no-turbolink data-turbo=\"false\">
|
||||
{% for name, template in templates %}
|
||||
{% if block('toolbar', template) is defined %}
|
||||
{% with {
|
||||
collector: profile ? profile.getcollector(name) : null,
|
||||
profiler_url: profiler_url,
|
||||
token: token ?? (profile ? profile.token : null),
|
||||
name: name,
|
||||
profiler_markup_version: profiler_markup_version,
|
||||
csp_script_nonce: csp_script_nonce,
|
||||
csp_style_nonce: csp_style_nonce
|
||||
} %}
|
||||
{{ block('toolbar', template) }}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if full_stack %}
|
||||
<div class=\"sf-full-stack sf-toolbar-block sf-toolbar-block-full-stack sf-toolbar-status-red sf-toolbar-block-right\">
|
||||
<div class=\"sf-toolbar-icon\">
|
||||
<span class=\"sf-toolbar-value\">Using symfony/symfony is NOT supported</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info sf-toolbar-status-red\">
|
||||
<p>This project is using Symfony via the \"symfony/symfony\" package.</p>
|
||||
<p>This is NOT supported anymore since Symfony 4.0.</p>
|
||||
<p>Even if it seems to work well, it has some important limitations with no workarounds.</p>
|
||||
<p>Using this package also makes your project slower.</p>
|
||||
|
||||
<strong>Please, stop using this package and replace it with individual packages instead.</strong>
|
||||
</div>
|
||||
<div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<button class=\"sf-toolbar-toggle-button\" type=\"button\" id=\"sfToolbarToggleButton-{{ token }}\" accesskey=\"D\" aria-expanded=\"true\" aria-controls=\"sfToolbarMainContent-{{ token }}\">
|
||||
<i class=\"sf-toolbar-icon-opened\" title=\"Close Toolbar\">{{ source('@WebProfiler/Icon/close.svg') }}</i>
|
||||
<i class=\"sf-toolbar-icon-closed\" title=\"Open Toolbar\">{{ source('@WebProfiler/Icon/symfony.svg') }}</i>
|
||||
</button>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/toolbar.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar.html.twig");
|
||||
}
|
||||
}
|
||||
185
var/cache/dev/twig/8d/8df74e514f3ae8d95e1ce9f79c39d69f.php
vendored
Normal file
185
var/cache/dev/twig/8d/8df74e514f3ae8d95e1ce9f79c39d69f.php
vendored
Normal file
@@ -0,0 +1,185 @@
|
||||
<?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/Collector/memory.html.twig */
|
||||
class __TwigTemplate_e6094f25a655dfe3ee369214c900bc2c 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/memory.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/Collector/memory.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$context["status_color"] = (((((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.', 5, $this->source); })()), "memory", [], "any", false, false, false, 5) / 1024) / 1024) > 50)) ? ("yellow") : (""));
|
||||
// line 6
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/memory.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 7
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%.1f", ((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.', 7, $this->source); })()), "memory", [], "any", false, false, false, 7) / 1024) / 1024)), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"sf-toolbar-label\">MiB</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 10
|
||||
yield "
|
||||
";
|
||||
// line 11
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 12
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Peak memory usage</b>
|
||||
<span>";
|
||||
// line 14
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%.1f", ((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.', 14, $this->source); })()), "memory", [], "any", false, false, false, 14) / 1024) / 1024)), "html", null, true);
|
||||
yield " MiB</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>PHP memory limit</b>
|
||||
<span>";
|
||||
// line 19
|
||||
yield (((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.', 19, $this->source); })()), "memoryLimit", [], "any", false, false, false, 19) == -1)) ? ("Unlimited") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%.0f MiB", ((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.', 19, $this->source); })()), "memoryLimit", [], "any", false, false, false, 19) / 1024) / 1024)), "html", null, true)));
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 22
|
||||
yield "
|
||||
";
|
||||
// line 23
|
||||
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.', 23, $this->source); })()), "name" => "time", "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 23, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/memory.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 121 => 23, 118 => 22, 111 => 19, 103 => 14, 99 => 12, 97 => 11, 94 => 10, 87 => 7, 82 => 6, 79 => 5, 76 => 4, 63 => 3, 40 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% set icon %}
|
||||
{% set status_color = (collector.memory / 1024 / 1024) > 50 ? 'yellow' %}
|
||||
{{ source('@WebProfiler/Icon/memory.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ '%.1f'|format(collector.memory / 1024 / 1024) }}</span>
|
||||
<span class=\"sf-toolbar-label\">MiB</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Peak memory usage</b>
|
||||
<span>{{ '%.1f'|format(collector.memory / 1024 / 1024) }} MiB</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>PHP memory limit</b>
|
||||
<span>{{ collector.memoryLimit == -1 ? 'Unlimited' : '%.0f MiB'|format(collector.memoryLimit / 1024 / 1024) }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, name: 'time', status: status_color }) }}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/memory.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/memory.html.twig");
|
||||
}
|
||||
}
|
||||
714
var/cache/dev/twig/93/93340e8593425a75b6ffb5d2b45d7084.php
vendored
Normal file
714
var/cache/dev/twig/93/93340e8593425a75b6ffb5d2b45d7084.php
vendored
Normal file
@@ -0,0 +1,714 @@
|
||||
<?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/Collector/http_client.html.twig */
|
||||
class __TwigTemplate_ceedae2543d5b10749c2c182ea6f04f8 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/http_client.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/Collector/http_client.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
.sf-profiler-httpclient-requests thead th {
|
||||
vertical-align: top;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .http-method {
|
||||
border: 1px solid var(--header-status-request-method-color);
|
||||
border-radius: 5px;
|
||||
color: var(--header-status-request-method-color);
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
margin-right: 6px;
|
||||
padding: 2px 4px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .status-response-status-code {
|
||||
background: var(--gray-600);
|
||||
border-radius: 4px;
|
||||
color: var(--white);
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 2px;
|
||||
padding: 1px 3px;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-success { background: var(--header-success-status-code-background); color: var(--header-success-status-code-color); }
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-warning { background: var(--header-warning-status-code-background); color: var(--header-warning-status-code-color); }
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-error { background: var(--header-error-status-code-background); color: var(--header-error-status-code-color); }
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 39
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 40
|
||||
yield " ";
|
||||
if ((($tmp = 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.', 40, $this->source); })()), "requestCount", [], "any", false, false, false, 40)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 41
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 42
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/http-client.svg");
|
||||
yield "
|
||||
";
|
||||
// line 43
|
||||
$context["status_color"] = "";
|
||||
// line 44
|
||||
yield " <span class=\"sf-toolbar-value\">";
|
||||
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); })()), "requestCount", [], "any", false, false, false, 44), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 46
|
||||
yield "
|
||||
";
|
||||
// line 47
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 48
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Total requests</b>
|
||||
<span>";
|
||||
// line 50
|
||||
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.', 50, $this->source); })()), "requestCount", [], "any", false, false, false, 50), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>HTTP errors</b>
|
||||
<span class=\"sf-toolbar-status ";
|
||||
// line 54
|
||||
yield (((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.', 54, $this->source); })()), "errorCount", [], "any", false, false, false, 54) > 0)) ? ("sf-toolbar-status-red") : (""));
|
||||
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.', 54, $this->source); })()), "errorCount", [], "any", false, false, false, 54), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 57
|
||||
yield "
|
||||
";
|
||||
// line 58
|
||||
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.', 58, $this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 58, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 62
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 63
|
||||
yield "<span class=\"label ";
|
||||
yield (((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.', 63, $this->source); })()), "requestCount", [], "any", false, false, false, 63) == 0)) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 64
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/http-client.svg");
|
||||
yield "</span>
|
||||
<strong>HTTP Client</strong>
|
||||
";
|
||||
// line 66
|
||||
if ((($tmp = 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.', 66, $this->source); })()), "requestCount", [], "any", false, false, false, 66)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 67
|
||||
yield " <span class=\"count\">
|
||||
";
|
||||
// line 68
|
||||
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.', 68, $this->source); })()), "requestCount", [], "any", false, false, false, 68), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 71
|
||||
yield "</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 74
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 75
|
||||
yield " <h2>HTTP Client</h2>
|
||||
";
|
||||
// line 76
|
||||
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.', 76, $this->source); })()), "requestCount", [], "any", false, false, false, 76) == 0)) {
|
||||
// line 77
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No HTTP requests were made.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 81
|
||||
yield " <div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 83
|
||||
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.', 83, $this->source); })()), "requestCount", [], "any", false, false, false, 83), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Total requests</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 87
|
||||
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.', 87, $this->source); })()), "errorCount", [], "any", false, false, false, 87), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">HTTP errors</span>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Clients</h2>
|
||||
<div class=\"sf-tabs\">
|
||||
";
|
||||
// line 93
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 93, $this->source); })()), "clients", [], "any", false, false, false, 93));
|
||||
foreach ($context['_seq'] as $context["name"] => $context["client"]) {
|
||||
// line 94
|
||||
yield " <div class=\"tab ";
|
||||
yield (((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["client"], "traces", [], "any", false, false, false, 94)) == 0)) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<h3 class=\"tab-title\">";
|
||||
// line 95
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
||||
yield " <span class=\"badge\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["client"], "traces", [], "any", false, false, false, 95)), "html", null, true);
|
||||
yield "</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 97
|
||||
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["client"], "traces", [], "any", false, false, false, 97)) == 0)) {
|
||||
// line 98
|
||||
yield " <div class=\"empty\">
|
||||
<p>No requests were made with the \"";
|
||||
// line 99
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
||||
yield "\" service.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 102
|
||||
yield " <h4>Requests</h4>
|
||||
";
|
||||
// line 103
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["client"], "traces", [], "any", false, false, false, 103));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["trace"]) {
|
||||
// line 104
|
||||
yield " ";
|
||||
$context["profiler_token"] = "";
|
||||
// line 105
|
||||
yield " ";
|
||||
$context["profiler_link"] = "";
|
||||
// line 106
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "info", [], "any", false, true, false, 106), "response_headers", [], "any", true, true, false, 106)) {
|
||||
// line 107
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "info", [], "any", false, false, false, 107), "response_headers", [], "any", false, false, false, 107));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
|
||||
// line 108
|
||||
yield " ";
|
||||
if (CoreExtension::matches("/^x-debug-token: .*\$/i", $context["header"])) {
|
||||
// line 109
|
||||
yield " ";
|
||||
$context["profiler_token"] = Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["header"], "getValue", [], "any", false, false, false, 109), Twig\Extension\CoreExtension::length($this->env->getCharset(), "x-debug-token: "));
|
||||
// line 110
|
||||
yield " ";
|
||||
}
|
||||
// line 111
|
||||
yield " ";
|
||||
if (CoreExtension::matches("/^x-debug-token-link: .*\$/i", $context["header"])) {
|
||||
// line 112
|
||||
yield " ";
|
||||
$context["profiler_link"] = Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["header"], "getValue", [], "any", false, false, false, 112), Twig\Extension\CoreExtension::length($this->env->getCharset(), "x-debug-token-link: "));
|
||||
// line 113
|
||||
yield " ";
|
||||
}
|
||||
// line 114
|
||||
yield " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['header'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 115
|
||||
yield " ";
|
||||
}
|
||||
// line 116
|
||||
yield " <table class=\"sf-profiler-httpclient-requests\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span class=\"http-method\">";
|
||||
// line 120
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "method", [], "any", false, false, false, 120), "html", null, true);
|
||||
yield "</span>
|
||||
</th>
|
||||
<th class=\"full-width\">
|
||||
";
|
||||
// line 123
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "url", [], "any", false, false, false, 123), "html", null, true);
|
||||
yield "
|
||||
</th>
|
||||
";
|
||||
// line 125
|
||||
if (((isset($context["profiler_token"]) || array_key_exists("profiler_token", $context) ? $context["profiler_token"] : (function () { throw new RuntimeError('Variable "profiler_token" does not exist.', 125, $this->source); })()) && (isset($context["profiler_link"]) || array_key_exists("profiler_link", $context) ? $context["profiler_link"] : (function () { throw new RuntimeError('Variable "profiler_link" does not exist.', 125, $this->source); })()))) {
|
||||
// line 126
|
||||
yield " <th>
|
||||
Profile
|
||||
</th>
|
||||
";
|
||||
}
|
||||
// line 130
|
||||
yield " ";
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "curlCommand", [], "any", true, true, false, 130) && CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "curlCommand", [], "any", false, false, false, 130))) {
|
||||
// line 131
|
||||
yield " <th>
|
||||
<button class=\"btn btn-sm hidden\" title=\"Copy as cURL\" data-clipboard-text=\"";
|
||||
// line 132
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "curlCommand", [], "any", false, false, false, 132), "html", null, true);
|
||||
yield "\">Copy as cURL</button>
|
||||
</th>
|
||||
";
|
||||
}
|
||||
// line 135
|
||||
yield " </tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 138
|
||||
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "options", [], "any", false, false, false, 138))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 139
|
||||
yield " <tr>
|
||||
<th class=\"font-normal\">Request options</th>
|
||||
<td>";
|
||||
// line 141
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "options", [], "any", false, false, false, 141), 1);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 144
|
||||
yield " <tr>
|
||||
<th class=\"font-normal\">Response</th>
|
||||
<td";
|
||||
// line 146
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "curlCommand", [], "any", true, true, false, 146) && CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "curlCommand", [], "any", false, false, false, 146))) {
|
||||
yield " colspan=\"2\"";
|
||||
}
|
||||
yield ">
|
||||
";
|
||||
// line 147
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "http_code", [], "any", false, false, false, 147) >= 500)) {
|
||||
// line 148
|
||||
yield " ";
|
||||
$context["responseStatus"] = "error";
|
||||
// line 149
|
||||
yield " ";
|
||||
} elseif ((CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "http_code", [], "any", false, false, false, 149) >= 400)) {
|
||||
// line 150
|
||||
yield " ";
|
||||
$context["responseStatus"] = "warning";
|
||||
// line 151
|
||||
yield " ";
|
||||
} else {
|
||||
// line 152
|
||||
yield " ";
|
||||
$context["responseStatus"] = "success";
|
||||
// line 153
|
||||
yield " ";
|
||||
}
|
||||
// line 154
|
||||
yield " <span class=\"font-normal status-response-status-code status-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["responseStatus"]) || array_key_exists("responseStatus", $context) ? $context["responseStatus"] : (function () { throw new RuntimeError('Variable "responseStatus" does not exist.', 154, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 155
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "http_code", [], "any", false, false, false, 155), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
|
||||
";
|
||||
// line 158
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["trace"], "info", [], "any", false, false, false, 158), 1);
|
||||
yield "
|
||||
</td>
|
||||
";
|
||||
// line 160
|
||||
if (((isset($context["profiler_token"]) || array_key_exists("profiler_token", $context) ? $context["profiler_token"] : (function () { throw new RuntimeError('Variable "profiler_token" does not exist.', 160, $this->source); })()) && (isset($context["profiler_link"]) || array_key_exists("profiler_link", $context) ? $context["profiler_link"] : (function () { throw new RuntimeError('Variable "profiler_link" does not exist.', 160, $this->source); })()))) {
|
||||
// line 161
|
||||
yield " <td>
|
||||
<span><a href=\"";
|
||||
// line 162
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profiler_link"]) || array_key_exists("profiler_link", $context) ? $context["profiler_link"] : (function () { throw new RuntimeError('Variable "profiler_link" does not exist.', 162, $this->source); })()), "html", null, true);
|
||||
yield "\" target=\"_blank\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profiler_token"]) || array_key_exists("profiler_token", $context) ? $context["profiler_token"] : (function () { throw new RuntimeError('Variable "profiler_token" does not exist.', 162, $this->source); })()), "html", null, true);
|
||||
yield "</a></span>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 165
|
||||
yield " </tr>
|
||||
</tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['trace'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 169
|
||||
yield " ";
|
||||
}
|
||||
// line 170
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['name'], $context['client'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 173
|
||||
yield " ";
|
||||
}
|
||||
// line 174
|
||||
yield " </div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/http_client.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 500 => 174, 497 => 173, 489 => 170, 486 => 169, 477 => 165, 469 => 162, 466 => 161, 464 => 160, 459 => 158, 453 => 155, 448 => 154, 445 => 153, 442 => 152, 439 => 151, 436 => 150, 433 => 149, 430 => 148, 428 => 147, 422 => 146, 418 => 144, 412 => 141, 408 => 139, 406 => 138, 401 => 135, 395 => 132, 392 => 131, 389 => 130, 383 => 126, 381 => 125, 376 => 123, 370 => 120, 364 => 116, 361 => 115, 355 => 114, 352 => 113, 349 => 112, 346 => 111, 343 => 110, 340 => 109, 337 => 108, 332 => 107, 329 => 106, 326 => 105, 323 => 104, 319 => 103, 316 => 102, 310 => 99, 307 => 98, 305 => 97, 298 => 95, 293 => 94, 289 => 93, 280 => 87, 273 => 83, 269 => 81, 263 => 77, 261 => 76, 258 => 75, 245 => 74, 233 => 71, 227 => 68, 224 => 67, 222 => 66, 217 => 64, 212 => 63, 199 => 62, 185 => 58, 182 => 57, 173 => 54, 166 => 50, 162 => 48, 160 => 47, 157 => 46, 150 => 44, 148 => 43, 143 => 42, 140 => 41, 137 => 40, 124 => 39, 79 => 4, 66 => 3, 43 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
.sf-profiler-httpclient-requests thead th {
|
||||
vertical-align: top;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .http-method {
|
||||
border: 1px solid var(--header-status-request-method-color);
|
||||
border-radius: 5px;
|
||||
color: var(--header-status-request-method-color);
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
margin-right: 6px;
|
||||
padding: 2px 4px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .status-response-status-code {
|
||||
background: var(--gray-600);
|
||||
border-radius: 4px;
|
||||
color: var(--white);
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 2px;
|
||||
padding: 1px 3px;
|
||||
}
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-success { background: var(--header-success-status-code-background); color: var(--header-success-status-code-color); }
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-warning { background: var(--header-warning-status-code-background); color: var(--header-warning-status-code-color); }
|
||||
.sf-profiler-httpclient-requests .status-response-status-code.status-error { background: var(--header-error-status-code-background); color: var(--header-error-status-code-color); }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.requestCount %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/http-client.svg') }}
|
||||
{% set status_color = '' %}
|
||||
<span class=\"sf-toolbar-value\">{{ collector.requestCount }}</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Total requests</b>
|
||||
<span>{{ collector.requestCount }}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>HTTP errors</b>
|
||||
<span class=\"sf-toolbar-status {{ collector.errorCount > 0 ? 'sf-toolbar-status-red' }}\">{{ collector.errorCount }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{ collector.requestCount == 0 ? 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/http-client.svg') }}</span>
|
||||
<strong>HTTP Client</strong>
|
||||
{% if collector.requestCount %}
|
||||
<span class=\"count\">
|
||||
{{ collector.requestCount }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>HTTP Client</h2>
|
||||
{% if collector.requestCount == 0 %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No HTTP requests were made.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.requestCount }}</span>
|
||||
<span class=\"label\">Total requests</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.errorCount }}</span>
|
||||
<span class=\"label\">HTTP errors</span>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Clients</h2>
|
||||
<div class=\"sf-tabs\">
|
||||
{% for name, client in collector.clients %}
|
||||
<div class=\"tab {{ client.traces|length == 0 ? 'disabled' }}\">
|
||||
<h3 class=\"tab-title\">{{ name }} <span class=\"badge\">{{ client.traces|length }}</span></h3>
|
||||
<div class=\"tab-content\">
|
||||
{% if client.traces|length == 0 %}
|
||||
<div class=\"empty\">
|
||||
<p>No requests were made with the \"{{ name }}\" service.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<h4>Requests</h4>
|
||||
{% for trace in client.traces %}
|
||||
{% set profiler_token = '' %}
|
||||
{% set profiler_link = '' %}
|
||||
{% if trace.info.response_headers is defined %}
|
||||
{% for header in trace.info.response_headers %}
|
||||
{% if header matches '/^x-debug-token: .*\$/i' %}
|
||||
{% set profiler_token = (header.getValue | slice('x-debug-token: ' | length)) %}
|
||||
{% endif %}
|
||||
{% if header matches '/^x-debug-token-link: .*\$/i' %}
|
||||
{% set profiler_link = (header.getValue | slice('x-debug-token-link: ' | length)) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<table class=\"sf-profiler-httpclient-requests\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span class=\"http-method\">{{ trace.method }}</span>
|
||||
</th>
|
||||
<th class=\"full-width\">
|
||||
{{ trace.url }}
|
||||
</th>
|
||||
{% if profiler_token and profiler_link %}
|
||||
<th>
|
||||
Profile
|
||||
</th>
|
||||
{% endif %}
|
||||
{% if trace.curlCommand is defined and trace.curlCommand %}
|
||||
<th>
|
||||
<button class=\"btn btn-sm hidden\" title=\"Copy as cURL\" data-clipboard-text=\"{{ trace.curlCommand }}\">Copy as cURL</button>
|
||||
</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% if trace.options is not empty %}
|
||||
<tr>
|
||||
<th class=\"font-normal\">Request options</th>
|
||||
<td>{{ profiler_dump(trace.options, maxDepth=1) }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th class=\"font-normal\">Response</th>
|
||||
<td{% if trace.curlCommand is defined and trace.curlCommand %} colspan=\"2\"{% endif %}>
|
||||
{% if trace.http_code >= 500 %}
|
||||
{% set responseStatus = 'error' %}
|
||||
{% elseif trace.http_code >= 400 %}
|
||||
{% set responseStatus = 'warning' %}
|
||||
{% else %}
|
||||
{% set responseStatus = 'success' %}
|
||||
{% endif %}
|
||||
<span class=\"font-normal status-response-status-code status-{{ responseStatus }}\">
|
||||
{{ trace.http_code }}
|
||||
</span>
|
||||
|
||||
{{ profiler_dump(trace.info, maxDepth=1) }}
|
||||
</td>
|
||||
{% if profiler_token and profiler_link %}
|
||||
<td>
|
||||
<span><a href=\"{{ profiler_link }}\" target=\"_blank\">{{ profiler_token }}</a></span>
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/http_client.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/http_client.html.twig");
|
||||
}
|
||||
}
|
||||
161
var/cache/dev/twig/97/9701ca939cedf92947f01257ecdd97ca.php
vendored
Normal file
161
var/cache/dev/twig/97/9701ca939cedf92947f01257ecdd97ca.php
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
<?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/bag.html.twig */
|
||||
class __TwigTemplate_21159c474c08fbe234598f0c97b43f35 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/bag.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/bag.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div class=\"table-with-search-field\">
|
||||
<table class=\"";
|
||||
// line 2
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("class", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 2, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"key\">";
|
||||
// line 5
|
||||
yield ((array_key_exists("labels", $context)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 5, $this->source); })()), 0, [], "array", false, false, false, 5), "html", null, true)) : ("Key"));
|
||||
yield "</th>
|
||||
<th scope=\"col\">";
|
||||
// line 6
|
||||
yield ((array_key_exists("labels", $context)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 6, $this->source); })()), 1, [], "array", false, false, false, 6), "html", null, true)) : ("Value"));
|
||||
yield "</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 10
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["bag"]) || array_key_exists("bag", $context) ? $context["bag"] : (function () { throw new RuntimeError('Variable "bag" does not exist.', 10, $this->source); })()), "keys", [], "any", false, false, false, 10)));
|
||||
$context['_iterated'] = false;
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
|
||||
// line 11
|
||||
yield " <tr>
|
||||
<th>";
|
||||
// line 12
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
|
||||
yield "</th>
|
||||
<td>";
|
||||
// line 13
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["bag"]) || array_key_exists("bag", $context) ? $context["bag"] : (function () { throw new RuntimeError('Variable "bag" does not exist.', 13, $this->source); })()), "get", [$context["key"]], "method", false, false, false, 13), ((array_key_exists("maxDepth", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["maxDepth"]) || array_key_exists("maxDepth", $context) ? $context["maxDepth"] : (function () { throw new RuntimeError('Variable "maxDepth" does not exist.', 13, $this->source); })()), 0)) : (0)));
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
$context['_iterated'] = true;
|
||||
}
|
||||
// line 15
|
||||
if (!$context['_iterated']) {
|
||||
// line 16
|
||||
yield " <tr>
|
||||
<td colspan=\"2\">(no data)</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['key'], $context['_parent'], $context['_iterated']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 20
|
||||
yield " </tbody>
|
||||
</table>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/bag.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 98 => 20, 89 => 16, 87 => 15, 80 => 13, 76 => 12, 73 => 11, 68 => 10, 61 => 6, 57 => 5, 51 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div class=\"table-with-search-field\">
|
||||
<table class=\"{{ class|default('') }}\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"key\">{{ labels is defined ? labels[0] : 'Key' }}</th>
|
||||
<th scope=\"col\">{{ labels is defined ? labels[1] : 'Value' }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for key in bag.keys|sort %}
|
||||
<tr>
|
||||
<th>{{ key }}</th>
|
||||
<td>{{ profiler_dump(bag.get(key), maxDepth=maxDepth|default(0)) }}</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan=\"2\">(no data)</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/bag.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/bag.html.twig");
|
||||
}
|
||||
}
|
||||
630
var/cache/dev/twig/98/980f1c03d5eef360e9d2f461ae156c54.php
vendored
Normal file
630
var/cache/dev/twig/98/980f1c03d5eef360e9d2f461ae156c54.php
vendored
Normal file
@@ -0,0 +1,630 @@
|
||||
<?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/Collector/twig.html.twig */
|
||||
class __TwigTemplate_6be9e477503336b0cd84794ed8f85d39 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/twig.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/Collector/twig.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
#twig-dump pre {
|
||||
font-size: var(--font-size-monospace);
|
||||
line-height: 1.7;
|
||||
background-color: var(--page-background);
|
||||
border: var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 15px;
|
||||
box-shadow: 0 0 1px rgba(128, 128, 128, .2);
|
||||
}
|
||||
#twig-dump span {
|
||||
border-radius: 2px;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
#twig-dump .status-error { background: transparent; color: var(--color-error); }
|
||||
#twig-dump .status-warning { background: rgba(240, 181, 24, 0.3); }
|
||||
#twig-dump .status-success { background: rgba(100, 189, 99, 0.2); }
|
||||
#twig-dump .status-info { background: var(--info-background); }
|
||||
.theme-dark #twig-dump .status-warning { color: var(--yellow-200); }
|
||||
.theme-dark #twig-dump .status-success { color: var(--green-200); }
|
||||
|
||||
#twig-table tbody td {
|
||||
position: relative;
|
||||
}
|
||||
#twig-table tbody td div {
|
||||
margin: 0;
|
||||
}
|
||||
#twig-table .template-file-path {
|
||||
color: var(--color-muted);
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 40
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 41
|
||||
yield " ";
|
||||
$context["time"] = (((($tmp = 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); })()), "templatecount", [], "any", false, false, false, 41)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (Twig\Extension\CoreExtension::sprintf("%0.0f", 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); })()), "time", [], "any", false, false, false, 41))) : ("n/a"));
|
||||
// line 42
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 43
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/twig.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 44
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["time"]) || array_key_exists("time", $context) ? $context["time"] : (function () { throw new RuntimeError('Variable "time" does not exist.', 44, $this->source); })()), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"sf-toolbar-label\">ms</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 47
|
||||
yield "
|
||||
";
|
||||
// line 48
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 49
|
||||
yield " ";
|
||||
$context["template"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), Twig\Extension\CoreExtension::keys(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.', 49, $this->source); })()), "templates", [], "any", false, false, false, 49)));
|
||||
// line 50
|
||||
yield " ";
|
||||
$context["file"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "templatePaths", [], "any", false, true, false, 50), (isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 50, $this->source); })()), [], "array", true, true, false, 50)) ? (Twig\Extension\CoreExtension::default(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.', 50, $this->source); })()), "templatePaths", [], "any", false, false, false, 50), (isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 50, $this->source); })()), [], "array", false, false, false, 50), false)) : (false));
|
||||
// line 51
|
||||
yield " ";
|
||||
$context["link"] = (((($tmp = (isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 51, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 51, $this->source); })()), 1)) : (false));
|
||||
// line 52
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Entry View</b>
|
||||
<span>
|
||||
";
|
||||
// line 55
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 55, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 56
|
||||
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.', 56, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 56, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 57
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 57, $this->source); })()), "html", null, true);
|
||||
yield "
|
||||
</a>
|
||||
";
|
||||
} else {
|
||||
// line 60
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 60, $this->source); })()), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 62
|
||||
yield " </span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Render Time</b>
|
||||
<span>";
|
||||
// line 66
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["time"]) || array_key_exists("time", $context) ? $context["time"] : (function () { throw new RuntimeError('Variable "time" does not exist.', 66, $this->source); })()), "html", null, true);
|
||||
yield " ms</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Template Calls</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 70
|
||||
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.', 70, $this->source); })()), "templatecount", [], "any", false, false, false, 70), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Block Calls</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 74
|
||||
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.', 74, $this->source); })()), "blockcount", [], "any", false, false, false, 74), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Macro Calls</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 78
|
||||
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.', 78, $this->source); })()), "macrocount", [], "any", false, false, false, 78), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 81
|
||||
yield "
|
||||
";
|
||||
// line 82
|
||||
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.', 82, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 85
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 86
|
||||
yield " <span class=\"label ";
|
||||
yield (((0 == 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.', 86, $this->source); })()), "templateCount", [], "any", false, false, false, 86))) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 87
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/twig.svg");
|
||||
yield "</span>
|
||||
<strong>Twig</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 92
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 93
|
||||
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.', 93, $this->source); })()), "templatecount", [], "any", false, false, false, 93) == 0)) {
|
||||
// line 94
|
||||
yield " <h2>Twig</h2>
|
||||
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No Twig templates were rendered.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 100
|
||||
yield " <h2>Twig Metrics</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 104
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%0.0f", 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.', 104, $this->source); })()), "time", [], "any", false, false, false, 104)), "html", null, true);
|
||||
yield " <span class=\"unit\">ms</span></span>
|
||||
<span class=\"label\">Render time</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 112
|
||||
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.', 112, $this->source); })()), "templatecount", [], "any", false, false, false, 112), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Template calls</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 117
|
||||
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.', 117, $this->source); })()), "blockcount", [], "any", false, false, false, 117), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Block calls</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 122
|
||||
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.', 122, $this->source); })()), "macrocount", [], "any", false, false, false, 122), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Macro calls</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class=\"help\">
|
||||
Render time includes sub-requests rendering time (if any).
|
||||
</p>
|
||||
|
||||
<h2>Rendered Templates</h2>
|
||||
|
||||
<table id=\"twig-table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\">Template Name & Path</th>
|
||||
<th class=\"num-col\" scope=\"col\">Render Count</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 142
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 142, $this->source); })()), "templates", [], "any", false, false, false, 142));
|
||||
foreach ($context['_seq'] as $context["template"] => $context["count"]) {
|
||||
// line 143
|
||||
yield " <tr>
|
||||
";
|
||||
// line 144
|
||||
$context["file"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "templatePaths", [], "any", false, true, false, 144), $context["template"], [], "array", true, true, false, 144)) ? (Twig\Extension\CoreExtension::default(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.', 144, $this->source); })()), "templatePaths", [], "any", false, false, false, 144), $context["template"], [], "array", false, false, false, 144), false)) : (false));
|
||||
// line 145
|
||||
yield " ";
|
||||
$context["link"] = (((($tmp = (isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 145, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 145, $this->source); })()), 1)) : (false));
|
||||
// line 146
|
||||
yield " <td class=\"font-normal\">
|
||||
";
|
||||
// line 147
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 147, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 148
|
||||
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.', 148, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 148, $this->source); })()), "html", null, true);
|
||||
yield "\" class=\"stretched-link\">
|
||||
";
|
||||
// line 149
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["template"], "html", null, true);
|
||||
yield "
|
||||
<span class=\"template-file-path\">";
|
||||
// line 150
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileRelative((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 150, $this->source); })())), (isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 150, $this->source); })())), "html", null, true);
|
||||
yield "</span>
|
||||
</a>
|
||||
";
|
||||
} else {
|
||||
// line 153
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["template"], "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 155
|
||||
yield " </td>
|
||||
<td class=\"font-normal num-col\">";
|
||||
// line 156
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["count"], "html", null, true);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['template'], $context['count'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 159
|
||||
yield " </tbody>
|
||||
</table>
|
||||
|
||||
<h2>Rendering Call Graph</h2>
|
||||
|
||||
<div id=\"twig-dump\">
|
||||
";
|
||||
// line 165
|
||||
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.', 165, $this->source); })()), "htmlcallgraph", [], "any", false, false, false, 165), "html", null, true);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/twig.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 420 => 165, 412 => 159, 403 => 156, 400 => 155, 394 => 153, 388 => 150, 384 => 149, 377 => 148, 375 => 147, 372 => 146, 369 => 145, 367 => 144, 364 => 143, 360 => 142, 337 => 122, 329 => 117, 321 => 112, 310 => 104, 304 => 100, 296 => 94, 293 => 93, 280 => 92, 265 => 87, 260 => 86, 247 => 85, 234 => 82, 231 => 81, 224 => 78, 217 => 74, 210 => 70, 203 => 66, 197 => 62, 191 => 60, 185 => 57, 178 => 56, 176 => 55, 171 => 52, 168 => 51, 165 => 50, 162 => 49, 160 => 48, 157 => 47, 150 => 44, 145 => 43, 142 => 42, 139 => 41, 126 => 40, 79 => 4, 66 => 3, 43 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
#twig-dump pre {
|
||||
font-size: var(--font-size-monospace);
|
||||
line-height: 1.7;
|
||||
background-color: var(--page-background);
|
||||
border: var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 15px;
|
||||
box-shadow: 0 0 1px rgba(128, 128, 128, .2);
|
||||
}
|
||||
#twig-dump span {
|
||||
border-radius: 2px;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
#twig-dump .status-error { background: transparent; color: var(--color-error); }
|
||||
#twig-dump .status-warning { background: rgba(240, 181, 24, 0.3); }
|
||||
#twig-dump .status-success { background: rgba(100, 189, 99, 0.2); }
|
||||
#twig-dump .status-info { background: var(--info-background); }
|
||||
.theme-dark #twig-dump .status-warning { color: var(--yellow-200); }
|
||||
.theme-dark #twig-dump .status-success { color: var(--green-200); }
|
||||
|
||||
#twig-table tbody td {
|
||||
position: relative;
|
||||
}
|
||||
#twig-table tbody td div {
|
||||
margin: 0;
|
||||
}
|
||||
#twig-table .template-file-path {
|
||||
color: var(--color-muted);
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% set time = collector.templatecount ? '%0.0f'|format(collector.time) : 'n/a' %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/twig.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ time }}</span>
|
||||
<span class=\"sf-toolbar-label\">ms</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
{% set template = collector.templates|keys|first %}
|
||||
{% set file = collector.templatePaths[template]|default(false) %}
|
||||
{% set link = file ? file|file_link(1) : false %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Entry View</b>
|
||||
<span>
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ file }}\">
|
||||
{{ template }}
|
||||
</a>
|
||||
{% else %}
|
||||
{{ template }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Render Time</b>
|
||||
<span>{{ time }} ms</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Template Calls</b>
|
||||
<span class=\"sf-toolbar-status\">{{ collector.templatecount }}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Block Calls</b>
|
||||
<span class=\"sf-toolbar-status\">{{ collector.blockcount }}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Macro Calls</b>
|
||||
<span class=\"sf-toolbar-status\">{{ collector.macrocount }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{ 0 == collector.templateCount ? 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/twig.svg') }}</span>
|
||||
<strong>Twig</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{% if collector.templatecount == 0 %}
|
||||
<h2>Twig</h2>
|
||||
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No Twig templates were rendered.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<h2>Twig Metrics</h2>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ '%0.0f'|format(collector.time) }} <span class=\"unit\">ms</span></span>
|
||||
<span class=\"label\">Render time</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.templatecount }}</span>
|
||||
<span class=\"label\">Template calls</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.blockcount }}</span>
|
||||
<span class=\"label\">Block calls</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.macrocount }}</span>
|
||||
<span class=\"label\">Macro calls</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class=\"help\">
|
||||
Render time includes sub-requests rendering time (if any).
|
||||
</p>
|
||||
|
||||
<h2>Rendered Templates</h2>
|
||||
|
||||
<table id=\"twig-table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\">Template Name & Path</th>
|
||||
<th class=\"num-col\" scope=\"col\">Render Count</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for template, count in collector.templates %}
|
||||
<tr>
|
||||
{% set file = collector.templatePaths[template]|default(false) %}
|
||||
{% set link = file ? file|file_link(1) : false %}
|
||||
<td class=\"font-normal\">
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ file }}\" class=\"stretched-link\">
|
||||
{{ template }}
|
||||
<span class=\"template-file-path\">{{ file|file_relative|default(file) }}</span>
|
||||
</a>
|
||||
{% else %}
|
||||
{{ template }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class=\"font-normal num-col\">{{ count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h2>Rendering Call Graph</h2>
|
||||
|
||||
<div id=\"twig-dump\">
|
||||
{{ collector.htmlcallgraph }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/twig.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/twig.html.twig");
|
||||
}
|
||||
}
|
||||
477
var/cache/dev/twig/99/994ea8eaf5685c5ae479fdb12e08ee57.php
vendored
Normal file
477
var/cache/dev/twig/99/994ea8eaf5685c5ae479fdb12e08ee57.php
vendored
Normal file
@@ -0,0 +1,477 @@
|
||||
<?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;
|
||||
|
||||
/* @Debug/Profiler/dump.html.twig */
|
||||
class __TwigTemplate_0fee1184eea5da0b07cee1e3e05e0fb6 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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", "@Debug/Profiler/dump.html.twig"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Debug/Profiler/dump.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
if ((($tmp = 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.', 4, $this->source); })()), "dumpsCount", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 6
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@Debug/Profiler/icon.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 7
|
||||
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.', 7, $this->source); })()), "dumpsCount", [], "any", false, false, false, 7), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 9
|
||||
yield "
|
||||
";
|
||||
// line 10
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 11
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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); })()), "getDumps", ["html"], "method", false, false, false, 11));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["dump"]) {
|
||||
// line 12
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<span>
|
||||
";
|
||||
// line 14
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", true, true, false, 14) && ("" != CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", false, false, false, 14)))) {
|
||||
// line 15
|
||||
yield " <span class=\"sf-toolbar-file-line\"><strong>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", false, false, false, 15), "html", null, true);
|
||||
yield "</strong> in </span>
|
||||
";
|
||||
}
|
||||
// line 17
|
||||
yield " ";
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 17)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 18
|
||||
yield " ";
|
||||
$context["link"] = $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 18), CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 18));
|
||||
// line 19
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 19, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 20
|
||||
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.', 20, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 20), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 20), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 22
|
||||
yield " <abbr title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 22), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 22), "html", null, true);
|
||||
yield "</abbr>
|
||||
";
|
||||
}
|
||||
// line 24
|
||||
yield " ";
|
||||
} else {
|
||||
// line 25
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 25), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 27
|
||||
yield " </span>
|
||||
<span class=\"sf-toolbar-file-line\">line ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 28), "html", null, true);
|
||||
yield "</span>
|
||||
|
||||
";
|
||||
// line 30
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "data", [], "any", false, false, false, 30);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['dump'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 33
|
||||
yield " ";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 34
|
||||
yield "
|
||||
";
|
||||
// line 35
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 39
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 40
|
||||
yield " <span class=\"label ";
|
||||
yield (((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.', 40, $this->source); })()), "dumpsCount", [], "any", false, false, false, 40) == 0)) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 41
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@Debug/Profiler/icon.svg");
|
||||
yield "</span>
|
||||
<strong>Debug</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 46
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 47
|
||||
yield " <h2>Dumped Contents</h2>
|
||||
|
||||
";
|
||||
// line 49
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 49, $this->source); })()), "getDumps", ["html"], "method", false, false, false, 49));
|
||||
$context['_iterated'] = false;
|
||||
$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["_key"] => $context["dump"]) {
|
||||
// line 50
|
||||
yield " <div class=\"sf-dump sf-reset\">
|
||||
<span class=\"metadata\">
|
||||
";
|
||||
// line 52
|
||||
if ((CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", true, true, false, 52) && ("" != CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", false, false, false, 52)))) {
|
||||
// line 53
|
||||
yield " <strong>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "label", [], "any", false, false, false, 53), "html", null, true);
|
||||
yield "</strong> in
|
||||
";
|
||||
} else {
|
||||
// line 55
|
||||
yield " In
|
||||
";
|
||||
}
|
||||
// line 57
|
||||
yield " ";
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 57)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 58
|
||||
yield " ";
|
||||
$context["link"] = $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 58), CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 58));
|
||||
// line 59
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 59, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 60
|
||||
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.', 60, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 60), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 60), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 62
|
||||
yield " <abbr title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 62), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 62), "html", null, true);
|
||||
yield "</abbr>
|
||||
";
|
||||
}
|
||||
// line 64
|
||||
yield " ";
|
||||
} else {
|
||||
// line 65
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 65), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 67
|
||||
yield " line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 67), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 67), "html", null, true);
|
||||
yield "</a>:
|
||||
</span>
|
||||
|
||||
<div class=\"sf-dump-compact hidden\" id=\"sf-trace-";
|
||||
// line 70
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 70), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"trace\">
|
||||
";
|
||||
// line 72
|
||||
yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "fileExcerpt", [], "any", false, false, false, 72)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "fileExcerpt", [], "any", false, false, false, 72)) : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->fileExcerpt(CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 72), CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 72))));
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 76
|
||||
yield CoreExtension::getAttribute($this->env, $this->source, $context["dump"], "data", [], "any", false, false, false, 76);
|
||||
yield "
|
||||
</div>
|
||||
";
|
||||
$context['_iterated'] = true;
|
||||
++$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'];
|
||||
}
|
||||
}
|
||||
// line 78
|
||||
if (!$context['_iterated']) {
|
||||
// line 79
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No content was dumped.</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['dump'], $context['_parent'], $context['_iterated'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@Debug/Profiler/dump.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 349 => 79, 347 => 78, 332 => 76, 325 => 72, 320 => 70, 311 => 67, 305 => 65, 302 => 64, 294 => 62, 284 => 60, 281 => 59, 278 => 58, 275 => 57, 271 => 55, 265 => 53, 263 => 52, 259 => 50, 241 => 49, 237 => 47, 224 => 46, 209 => 41, 204 => 40, 191 => 39, 177 => 35, 174 => 34, 170 => 33, 161 => 30, 156 => 28, 153 => 27, 147 => 25, 144 => 24, 136 => 22, 126 => 20, 123 => 19, 120 => 18, 117 => 17, 111 => 15, 109 => 14, 105 => 12, 100 => 11, 98 => 10, 95 => 9, 89 => 7, 84 => 6, 81 => 5, 78 => 4, 65 => 3, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.dumpsCount %}
|
||||
{% set icon %}
|
||||
{{ source('@Debug/Profiler/icon.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ collector.dumpsCount }}</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
{% for dump in collector.getDumps('html') %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<span>
|
||||
{% if dump.label is defined and '' != dump.label %}
|
||||
<span class=\"sf-toolbar-file-line\"><strong>{{ dump.label }}</strong> in </span>
|
||||
{% endif %}
|
||||
{% if dump.file %}
|
||||
{% set link = dump.file|file_link(dump.line) %}
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ dump.file }}\">{{ dump.name }}</a>
|
||||
{% else %}
|
||||
<abbr title=\"{{ dump.file }}\">{{ dump.name }}</abbr>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ dump.name }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class=\"sf-toolbar-file-line\">line {{ dump.line }}</span>
|
||||
|
||||
{{ dump.data|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': true }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{ collector.dumpsCount == 0 ? 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@Debug/Profiler/icon.svg') }}</span>
|
||||
<strong>Debug</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Dumped Contents</h2>
|
||||
|
||||
{% for dump in collector.getDumps('html') %}
|
||||
<div class=\"sf-dump sf-reset\">
|
||||
<span class=\"metadata\">
|
||||
{% if dump.label is defined and '' != dump.label %}
|
||||
<strong>{{ dump.label }}</strong> in
|
||||
{% else %}
|
||||
In
|
||||
{% endif %}
|
||||
{% if dump.line %}
|
||||
{% set link = dump.file|file_link(dump.line) %}
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ dump.file }}\">{{ dump.name }}</a>
|
||||
{% else %}
|
||||
<abbr title=\"{{ dump.file }}\">{{ dump.name }}</abbr>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ dump.name }}
|
||||
{% endif %}
|
||||
line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ loop.index0 }}\">{{ dump.line }}</a>:
|
||||
</span>
|
||||
|
||||
<div class=\"sf-dump-compact hidden\" id=\"sf-trace-{{ loop.index0 }}\">
|
||||
<div class=\"trace\">
|
||||
{{ dump.fileExcerpt ? dump.fileExcerpt|raw : dump.file|file_excerpt(dump.line) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ dump.data|raw }}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No content was dumped.</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
", "@Debug/Profiler/dump.html.twig", "/var/www/html/vendor/symfony/debug-bundle/Resources/views/Profiler/dump.html.twig");
|
||||
}
|
||||
}
|
||||
344
var/cache/dev/twig/9b/9b2d659881872f25b2714602ee8ec5e6.php
vendored
Normal file
344
var/cache/dev/twig/9b/9b2d659881872f25b2714602ee8ec5e6.php
vendored
Normal file
@@ -0,0 +1,344 @@
|
||||
<?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/base.html.twig */
|
||||
class __TwigTemplate_180fee70f29286d31ae440628fe84fc3 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'title' => [$this, 'block_title'],
|
||||
'head' => [$this, 'block_head'],
|
||||
'stylesheets' => [$this, 'block_stylesheets'],
|
||||
'javascripts' => [$this, 'block_javascripts'],
|
||||
'body' => [$this, 'block_body'],
|
||||
];
|
||||
}
|
||||
|
||||
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/base.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/base.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"en\">
|
||||
<head>
|
||||
<meta charset=\"";
|
||||
// line 4
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getCharset(), "html", null, true);
|
||||
yield "\" />
|
||||
<meta name=\"robots\" content=\"noindex,nofollow\" />
|
||||
<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />
|
||||
<meta name=\"view-transition\" content=\"same-origin\">
|
||||
<title>";
|
||||
// line 8
|
||||
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
|
||||
yield "</title>
|
||||
|
||||
";
|
||||
// line 10
|
||||
$context["request_collector"] = ((array_key_exists("profile", $context)) ? (((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), null)) : (null))) : (null));
|
||||
// line 11
|
||||
yield " ";
|
||||
$context["status_code"] = (((($tmp = !(null === (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 11, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((CoreExtension::getAttribute($this->env, $this->source, ($context["request_collector"] ?? null), "statuscode", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 11, $this->source); })()), "statuscode", [], "any", false, false, false, 11), 0)) : (0))) : (0));
|
||||
// line 12
|
||||
yield " ";
|
||||
$context["favicon_color"] = ((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 12, $this->source); })()) > 399)) ? ("b41939") : (((((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 12, $this->source); })()) > 299)) ? ("af8503") : ("000000"))));
|
||||
// line 13
|
||||
yield " <link rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2'%3E%3Cstyle%3E%23circle %7B fill: %23";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["favicon_color"]) || array_key_exists("favicon_color", $context) ? $context["favicon_color"] : (function () { throw new RuntimeError('Variable "favicon_color" does not exist.', 13, $this->source); })()), "html", null, true);
|
||||
yield "; %7D %23sf %7B fill: %23ffffff; %7D%3C/style%3E%3Cpath fill='none' d='M0 0h600v600H0z'/%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h600v600H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath id='circle' d='M599.985 299.974c0 165.696-134.307 300.024-300.003 300.024C134.302 599.998 0 465.67 0 299.974 0 134.304 134.302-.002 299.982-.002c165.696 0 300.003 134.307 300.003 299.976z' fill-rule='nonzero'/%3E%3Cpath id='sf' d='M431.154 110.993c-30.474 1.043-57.08 17.866-76.884 41.076-21.926 25.49-36.508 55.696-47.03 86.55-18.791-15.416-33.282-35.364-63.457-44.04-23.311-6.702-47.794-3.948-70.314 12.833-10.667 7.965-18.016 19.995-21.51 31.34-9.05 29.416 9.506 55.61 17.942 65.004l18.444 19.743c3.792 3.879 12.95 13.983 8.467 28.458-4.82 15.764-23.809 25.938-43.285 19.958-8.703-2.67-21.199-9.147-18.396-18.257 1.145-3.739 3.82-6.553 5.264-9.74 1.305-2.788 1.941-4.858 2.337-6.099 3.557-11.602-1.31-26.714-13.747-30.56-11.613-3.562-23.488-.738-28.094 14.202-5.22 16.979 2.905 47.795 46.436 61.206 51 15.694 94.13-12.084 100.249-48.287 3.857-22.675-6.392-39.536-25.147-61.2l-15.293-16.92c-9.254-9.248-12.437-25.018-2.856-37.134 8.093-10.233 19.6-14.581 38.476-9.457 27.543 7.468 39.809 26.58 60.285 41.996-8.44 27.741-13.977 55.584-18.973 80.548l-3.07 18.626c-14.636 76.766-25.816 118.939-54.856 143.144-5.858 4.167-14.218 10.399-26.821 10.843-6.622.203-8.757-4.355-8.847-6.344-.15-4.628 3.755-6.756 6.349-8.837 3.889-2.124 9.757-5.633 9.356-16.882-.423-13.293-11.431-24.815-27.35-24.286-11.919.402-30.09 11.608-29.4 32.149.701 21.22 20.472 37.118 50.288 36.107 15.935-.535 51.528-7.018 86.592-48.699 40.82-47.8 52.235-102.576 60.82-142.673l9.591-52.946a177.574 177.574 0 0017.209 1.22c50.844 1.075 76.257-25.249 76.653-44.41.257-11.591-7.6-23.011-18.61-22.739-7.863.22-17.759 5.473-20.123 16.353-2.332 10.671 16.17 20.316 1.712 29.704-10.27 6.643-28.683 11.319-54.615 7.526l4.712-26.061c9.623-49.416 21.493-110.193 66.528-111.68 3.284-.155 15.282.139 15.56 8.088.08 2.637-.582 3.332-3.68 9.393-3.166 4.729-4.36 8.773-4.204 13.394.433 12.608 10.024 20.91 23.916 20.429 18.572-.626 23.906-18.7 23.6-27.998-.759-21.846-23.776-35.647-54.224-34.641z' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E\"/>
|
||||
|
||||
";
|
||||
// line 15
|
||||
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
|
||||
// line 25
|
||||
yield " </head>
|
||||
<body>
|
||||
<script";
|
||||
// line 27
|
||||
if ((array_key_exists("csp_script_nonce", $context) && (isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce", $context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.', 27, $this->source); })()))) {
|
||||
yield " nonce=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce", $context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.', 27, $this->source); })()), "html", null, true);
|
||||
yield "\"";
|
||||
}
|
||||
yield ">
|
||||
if (null === localStorage.getItem('symfony/profiler/theme') || 'theme-auto' === localStorage.getItem('symfony/profiler/theme')) {
|
||||
document.body.classList.add((matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light'));
|
||||
// needed to respond dynamically to OS changes without having to refresh the page
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {
|
||||
document.body.classList.remove('theme-light', 'theme-dark');
|
||||
document.body.classList.add(e.matches ? 'theme-dark' : 'theme-light');
|
||||
});
|
||||
} else {
|
||||
document.body.classList.add(localStorage.getItem('symfony/profiler/theme'));
|
||||
}
|
||||
|
||||
document.body.classList.add(localStorage.getItem('symfony/profiler/width') || 'width-normal');
|
||||
|
||||
document.body.classList.add(
|
||||
(navigator.appVersion.indexOf('Win') !== -1) ? 'windows' : (navigator.appVersion.indexOf('Mac') !== -1) ? 'macos' : 'linux'
|
||||
);
|
||||
</script>
|
||||
|
||||
";
|
||||
// line 46
|
||||
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
|
||||
// line 47
|
||||
yield " </body>
|
||||
</html>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 8
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_title(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", "title"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
|
||||
|
||||
yield "Symfony Profiler";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 15
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 16
|
||||
yield " ";
|
||||
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
|
||||
// line 21
|
||||
yield "
|
||||
";
|
||||
// line 22
|
||||
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
|
||||
// line 24
|
||||
yield " ";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 16
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_stylesheets(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", "stylesheets"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
|
||||
|
||||
// line 17
|
||||
yield " <style";
|
||||
if ((array_key_exists("csp_style_nonce", $context) && (isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce", $context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.', 17, $this->source); })()))) {
|
||||
yield " nonce=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce", $context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.', 17, $this->source); })()), "html", null, true);
|
||||
yield "\"";
|
||||
}
|
||||
yield ">
|
||||
";
|
||||
// line 18
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/profiler.css.twig");
|
||||
yield "
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 22
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_javascripts(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", "javascripts"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
|
||||
|
||||
// line 23
|
||||
yield " ";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 46
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
yield "";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/base.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 246 => 46, 235 => 23, 222 => 22, 208 => 18, 199 => 17, 186 => 16, 175 => 24, 173 => 22, 170 => 21, 167 => 16, 154 => 15, 131 => 8, 118 => 47, 116 => 46, 90 => 27, 86 => 25, 84 => 15, 78 => 13, 75 => 12, 72 => 11, 70 => 10, 65 => 8, 58 => 4, 53 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<!DOCTYPE html>
|
||||
<html lang=\"en\">
|
||||
<head>
|
||||
<meta charset=\"{{ _charset }}\" />
|
||||
<meta name=\"robots\" content=\"noindex,nofollow\" />
|
||||
<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />
|
||||
<meta name=\"view-transition\" content=\"same-origin\">
|
||||
<title>{% block title %}Symfony Profiler{% endblock %}</title>
|
||||
|
||||
{% set request_collector = profile is defined ? profile.collectors.request|default(null) : null %}
|
||||
{% set status_code = request_collector is not null ? request_collector.statuscode|default(0) : 0 %}
|
||||
{% set favicon_color = status_code > 399 ? 'b41939' : status_code > 299 ? 'af8503' : '000000' %}
|
||||
<link rel=\"icon\" type=\"image/svg+xml\" href=\"data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2'%3E%3Cstyle%3E%23circle %7B fill: %23{{ favicon_color }}; %7D %23sf %7B fill: %23ffffff; %7D%3C/style%3E%3Cpath fill='none' d='M0 0h600v600H0z'/%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h600v600H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath id='circle' d='M599.985 299.974c0 165.696-134.307 300.024-300.003 300.024C134.302 599.998 0 465.67 0 299.974 0 134.304 134.302-.002 299.982-.002c165.696 0 300.003 134.307 300.003 299.976z' fill-rule='nonzero'/%3E%3Cpath id='sf' d='M431.154 110.993c-30.474 1.043-57.08 17.866-76.884 41.076-21.926 25.49-36.508 55.696-47.03 86.55-18.791-15.416-33.282-35.364-63.457-44.04-23.311-6.702-47.794-3.948-70.314 12.833-10.667 7.965-18.016 19.995-21.51 31.34-9.05 29.416 9.506 55.61 17.942 65.004l18.444 19.743c3.792 3.879 12.95 13.983 8.467 28.458-4.82 15.764-23.809 25.938-43.285 19.958-8.703-2.67-21.199-9.147-18.396-18.257 1.145-3.739 3.82-6.553 5.264-9.74 1.305-2.788 1.941-4.858 2.337-6.099 3.557-11.602-1.31-26.714-13.747-30.56-11.613-3.562-23.488-.738-28.094 14.202-5.22 16.979 2.905 47.795 46.436 61.206 51 15.694 94.13-12.084 100.249-48.287 3.857-22.675-6.392-39.536-25.147-61.2l-15.293-16.92c-9.254-9.248-12.437-25.018-2.856-37.134 8.093-10.233 19.6-14.581 38.476-9.457 27.543 7.468 39.809 26.58 60.285 41.996-8.44 27.741-13.977 55.584-18.973 80.548l-3.07 18.626c-14.636 76.766-25.816 118.939-54.856 143.144-5.858 4.167-14.218 10.399-26.821 10.843-6.622.203-8.757-4.355-8.847-6.344-.15-4.628 3.755-6.756 6.349-8.837 3.889-2.124 9.757-5.633 9.356-16.882-.423-13.293-11.431-24.815-27.35-24.286-11.919.402-30.09 11.608-29.4 32.149.701 21.22 20.472 37.118 50.288 36.107 15.935-.535 51.528-7.018 86.592-48.699 40.82-47.8 52.235-102.576 60.82-142.673l9.591-52.946a177.574 177.574 0 0017.209 1.22c50.844 1.075 76.257-25.249 76.653-44.41.257-11.591-7.6-23.011-18.61-22.739-7.863.22-17.759 5.473-20.123 16.353-2.332 10.671 16.17 20.316 1.712 29.704-10.27 6.643-28.683 11.319-54.615 7.526l4.712-26.061c9.623-49.416 21.493-110.193 66.528-111.68 3.284-.155 15.282.139 15.56 8.088.08 2.637-.582 3.332-3.68 9.393-3.166 4.729-4.36 8.773-4.204 13.394.433 12.608 10.024 20.91 23.916 20.429 18.572-.626 23.906-18.7 23.6-27.998-.759-21.846-23.776-35.647-54.224-34.641z' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E\"/>
|
||||
|
||||
{% block head %}
|
||||
{% block stylesheets %}
|
||||
<style{% if csp_style_nonce is defined and csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
|
||||
{{ include('@WebProfiler/Profiler/profiler.css.twig') }}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<script{% if csp_script_nonce is defined and csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>
|
||||
if (null === localStorage.getItem('symfony/profiler/theme') || 'theme-auto' === localStorage.getItem('symfony/profiler/theme')) {
|
||||
document.body.classList.add((matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light'));
|
||||
// needed to respond dynamically to OS changes without having to refresh the page
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {
|
||||
document.body.classList.remove('theme-light', 'theme-dark');
|
||||
document.body.classList.add(e.matches ? 'theme-dark' : 'theme-light');
|
||||
});
|
||||
} else {
|
||||
document.body.classList.add(localStorage.getItem('symfony/profiler/theme'));
|
||||
}
|
||||
|
||||
document.body.classList.add(localStorage.getItem('symfony/profiler/width') || 'width-normal');
|
||||
|
||||
document.body.classList.add(
|
||||
(navigator.appVersion.indexOf('Win') !== -1) ? 'windows' : (navigator.appVersion.indexOf('Mac') !== -1) ? 'macos' : 'linux'
|
||||
);
|
||||
</script>
|
||||
|
||||
{% block body '' %}
|
||||
</body>
|
||||
</html>
|
||||
", "@WebProfiler/Profiler/base.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/base.html.twig");
|
||||
}
|
||||
}
|
||||
1397
var/cache/dev/twig/a2/a275b877f5f9349569e358b86eb70c02.php
vendored
Normal file
1397
var/cache/dev/twig/a2/a275b877f5f9349569e358b86eb70c02.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
841
var/cache/dev/twig/ad/ade1cca9555dd09637251e79bb769dcb.php
vendored
Normal file
841
var/cache/dev/twig/ad/ade1cca9555dd09637251e79bb769dcb.php
vendored
Normal file
@@ -0,0 +1,841 @@
|
||||
<?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/Collector/command.html.twig */
|
||||
class __TwigTemplate_3665316b1e4d12afc8a75fae304a33f3 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 = [
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/command.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/Collector/command.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 4
|
||||
yield " <span class=\"label\">
|
||||
<span class=\"icon\">";
|
||||
// line 5
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/command.svg");
|
||||
yield "</span>
|
||||
<strong>Console Command</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 10
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 11
|
||||
yield " <h2>
|
||||
";
|
||||
// line 12
|
||||
$context["command"] = 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.', 12, $this->source); })()), "command", [], "any", false, false, false, 12);
|
||||
// line 13
|
||||
yield " <a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, (isset($context["command"]) || array_key_exists("command", $context) ? $context["command"] : (function () { throw new RuntimeError('Variable "command" does not exist.', 13, $this->source); })()), "file", [], "any", false, false, false, 13), CoreExtension::getAttribute($this->env, $this->source, (isset($context["command"]) || array_key_exists("command", $context) ? $context["command"] : (function () { throw new RuntimeError('Variable "command" does not exist.', 13, $this->source); })()), "line", [], "any", false, false, false, 13)), "html", null, true);
|
||||
yield "\">
|
||||
";
|
||||
// line 14
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, ($context["command"] ?? null), "executor", [], "any", true, true, false, 14)) {
|
||||
// line 15
|
||||
yield " ";
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->abbrMethod($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["command"]) || array_key_exists("command", $context) ? $context["command"] : (function () { throw new RuntimeError('Variable "command" does not exist.', 15, $this->source); })()), "executor", [], "any", false, false, false, 15), "html", null, true));
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 17
|
||||
yield " ";
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->abbrClass($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["command"]) || array_key_exists("command", $context) ? $context["command"] : (function () { throw new RuntimeError('Variable "command" does not exist.', 17, $this->source); })()), "class", [], "any", false, false, false, 17), "html", null, true));
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 19
|
||||
yield " </a>
|
||||
</h2>
|
||||
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Command</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 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); })()), "duration", [], "any", false, false, false, 29), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Duration</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 34
|
||||
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.', 34, $this->source); })()), "maxMemoryUsage", [], "any", false, false, false, 34), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Peak Memory Usage</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 39
|
||||
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.', 39, $this->source); })()), "verbosityLevel", [], "any", false, false, false, 39), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">Verbosity Level</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 46
|
||||
yield Twig\Extension\CoreExtension::source($this->env, (("@WebProfiler/Icon/" . (((($tmp = !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.', 46, $this->source); })()), "signalable", [], "any", false, false, false, 46))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Signalable</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 51
|
||||
yield Twig\Extension\CoreExtension::source($this->env, (("@WebProfiler/Icon/" . (((($tmp = 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.', 51, $this->source); })()), "interactive", [], "any", false, false, false, 51)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Interactive</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 56
|
||||
yield Twig\Extension\CoreExtension::source($this->env, (("@WebProfiler/Icon/" . (((($tmp = 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.', 56, $this->source); })()), "validateInput", [], "any", false, false, false, 56)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Validate Input</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 61
|
||||
yield Twig\Extension\CoreExtension::source($this->env, (("@WebProfiler/Icon/" . (((($tmp = 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.', 61, $this->source); })()), "enabled", [], "any", false, false, false, 61)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Enabled</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 66
|
||||
yield Twig\Extension\CoreExtension::source($this->env, (("@WebProfiler/Icon/" . (((($tmp = 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.', 66, $this->source); })()), "visible", [], "any", false, false, false, 66)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
||||
yield "</span>
|
||||
<span class=\"label\">Visible</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Arguments</h3>
|
||||
|
||||
";
|
||||
// line 73
|
||||
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.', 73, $this->source); })()), "arguments", [], "any", false, false, false, 73))) {
|
||||
// line 74
|
||||
yield " <div class=\"empty\">
|
||||
<p>No arguments were set</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 78
|
||||
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.', 78, $this->source); })()), "arguments", [], "any", false, false, false, 78), "labels" => ["Argument", "Value"], "maxDepth" => 2], false);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 80
|
||||
yield "
|
||||
<h3>Options</h3>
|
||||
|
||||
";
|
||||
// line 83
|
||||
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.', 83, $this->source); })()), "options", [], "any", false, false, false, 83))) {
|
||||
// line 84
|
||||
yield " <div class=\"empty\">
|
||||
<p>No options were set</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 88
|
||||
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.', 88, $this->source); })()), "options", [], "any", false, false, false, 88), "labels" => ["Option", "Value"], "maxDepth" => 2], false);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 90
|
||||
yield "
|
||||
";
|
||||
// line 91
|
||||
if ((($tmp = 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.', 91, $this->source); })()), "interactive", [], "any", false, false, false, 91)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 92
|
||||
yield " <h3>Interactive Inputs</h3>
|
||||
|
||||
<p class=\"help\">
|
||||
The values which have been set interactively.
|
||||
</p>
|
||||
|
||||
";
|
||||
// line 98
|
||||
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.', 98, $this->source); })()), "interactiveInputs", [], "any", false, false, false, 98))) {
|
||||
// line 99
|
||||
yield " <div class=\"empty\">
|
||||
<p>No inputs were set</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 103
|
||||
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.', 103, $this->source); })()), "interactiveInputs", [], "any", false, false, false, 103), "labels" => ["Input", "Value"], "maxDepth" => 2], false);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 105
|
||||
yield " ";
|
||||
}
|
||||
// line 106
|
||||
yield "
|
||||
<h3>Application inputs</h3>
|
||||
|
||||
";
|
||||
// line 109
|
||||
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.', 109, $this->source); })()), "applicationInputs", [], "any", false, false, false, 109))) {
|
||||
// line 110
|
||||
yield " <div class=\"empty\">
|
||||
<p>No application inputs are set</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 114
|
||||
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.', 114, $this->source); })()), "applicationInputs", [], "any", false, false, false, 114), "labels" => ["Input", "Value"], "maxDepth" => 2], false);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 116
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Input / Output</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<table>
|
||||
<tr>
|
||||
<td class=\"font-normal\">Input</td>
|
||||
<td class=\"font-normal\">";
|
||||
// line 126
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($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.', 126, $this->source); })()), "input", [], "any", false, false, false, 126));
|
||||
yield "</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class=\"font-normal\">Output</td>
|
||||
<td class=\"font-normal\">";
|
||||
// line 130
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($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.', 130, $this->source); })()), "output", [], "any", false, false, false, 130));
|
||||
yield "</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Helper Set</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 140
|
||||
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.', 140, $this->source); })()), "helperSet", [], "any", false, false, false, 140))) {
|
||||
// line 141
|
||||
yield " <div class=\"empty\">
|
||||
<p>No helpers</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 145
|
||||
yield " <table class=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("class", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 145, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\">Helpers</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 152
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($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.', 152, $this->source); })()), "helperSet", [], "any", false, false, false, 152)));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["helper"]) {
|
||||
// line 153
|
||||
yield " <tr>
|
||||
<td>";
|
||||
// line 154
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["helper"]);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['helper'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 157
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 160
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
";
|
||||
// line 164
|
||||
$context["request_collector"] = 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.', 164, $this->source); })()), "collectors", [], "any", false, false, false, 164), "request", [], "any", false, false, false, 164);
|
||||
// line 165
|
||||
yield " <h3 class=\"tab-title\">Server Parameters</h3>
|
||||
<div class=\"tab-content\">
|
||||
<h3>Server Parameters</h3>
|
||||
<h4>Defined in .env</h4>
|
||||
";
|
||||
// line 169
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 169, $this->source); })()), "dotenvvars", [], "any", false, false, false, 169)], false);
|
||||
yield "
|
||||
|
||||
<h4>Defined as regular env variables</h4>
|
||||
";
|
||||
// line 172
|
||||
$context["requestserver"] = [];
|
||||
// line 173
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 173, $this->source); })()), "requestserver", [], "any", false, false, false, 173), 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["request_collector"]) || array_key_exists("request_collector", $context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.', 173, $this->source); })()), "dotenvvars", [], "any", false, false, false, 173), "keys", [], "any", false, false, false, 173)); }));
|
||||
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
|
||||
// line 174
|
||||
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.', 174, $this->source); })()), [ (string)$context["key"] => $context["value"]]);
|
||||
// line 175
|
||||
yield " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['key'], $context['value'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 176
|
||||
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.', 176, $this->source); })())], false);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 180
|
||||
if ((($tmp = !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.', 180, $this->source); })()), "signalable", [], "any", false, false, false, 180))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 181
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Signals</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Subscribed signals</h3>
|
||||
";
|
||||
// line 186
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(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.', 186, $this->source); })()), "signalable", [], "any", false, false, false, 186), ", "), "html", null, true);
|
||||
yield "
|
||||
|
||||
<h3>Handled signals</h3>
|
||||
";
|
||||
// line 189
|
||||
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.', 189, $this->source); })()), "handledSignals", [], "any", false, false, false, 189))) {
|
||||
// line 190
|
||||
yield " <div class=\"empty\">
|
||||
<p>No signals handled</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 194
|
||||
yield " <table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Signal</th>
|
||||
<th>Times handled</th>
|
||||
<th>Total execution time</th>
|
||||
<th>Memory peak</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 204
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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); })()), "handledSignals", [], "any", false, false, false, 204));
|
||||
foreach ($context['_seq'] as $context["signal"] => $context["data"]) {
|
||||
// line 205
|
||||
yield " <tr>
|
||||
<td>";
|
||||
// line 206
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["signal"], "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 207
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "handled", [], "any", false, false, false, 207), "html", null, true);
|
||||
yield "</td>
|
||||
<td>";
|
||||
// line 208
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "duration", [], "any", false, false, false, 208), "html", null, true);
|
||||
yield " ms</td>
|
||||
<td>";
|
||||
// line 209
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["data"], "memory", [], "any", false, false, false, 209), "html", null, true);
|
||||
yield " MiB</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['signal'], $context['data'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 212
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 215
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 218
|
||||
yield "
|
||||
";
|
||||
// line 219
|
||||
if ((($tmp = 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.', 219, $this->source); })()), "parent", [], "any", false, false, false, 219)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 220
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Parent Command</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>
|
||||
<a href=\"";
|
||||
// line 225
|
||||
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.', 225, $this->source); })()), "parent", [], "any", false, false, false, 225), "token", [], "any", false, false, false, 225)]), "html", null, true);
|
||||
yield "\">Return to parent command</a>
|
||||
<small>(token = ";
|
||||
// line 226
|
||||
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.', 226, $this->source); })()), "parent", [], "any", false, false, false, 226), "token", [], "any", false, false, false, 226), "html", null, true);
|
||||
yield ")</small>
|
||||
</h3>
|
||||
|
||||
";
|
||||
// line 229
|
||||
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.', 229, $this->source); })()), "parent", [], "any", false, false, false, 229), "url", [], "any", false, false, false, 229), "html", null, true);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 233
|
||||
yield "
|
||||
";
|
||||
// line 234
|
||||
if ((($tmp = 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.', 234, $this->source); })()), "children", [], "any", false, false, false, 234))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 235
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Sub Commands <span class=\"badge\">";
|
||||
// line 236
|
||||
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.', 236, $this->source); })()), "children", [], "any", false, false, false, 236)), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 239
|
||||
$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.', 239, $this->source); })()), "children", [], "any", false, false, false, 239));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
||||
// line 240
|
||||
yield " <h3>
|
||||
";
|
||||
// line 241
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["child"], "url", [], "any", false, false, false, 241), "html", null, true);
|
||||
yield "
|
||||
<small>(token = <a href=\"";
|
||||
// line 242
|
||||
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, 242)]), "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, 242), "html", null, true);
|
||||
yield "</a>)</small>
|
||||
</h3>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['child'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 245
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 248
|
||||
yield " </div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/command.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 553 => 248, 548 => 245, 537 => 242, 533 => 241, 530 => 240, 526 => 239, 520 => 236, 517 => 235, 515 => 234, 512 => 233, 505 => 229, 499 => 226, 495 => 225, 488 => 220, 486 => 219, 483 => 218, 478 => 215, 473 => 212, 464 => 209, 460 => 208, 456 => 207, 452 => 206, 449 => 205, 445 => 204, 433 => 194, 427 => 190, 425 => 189, 419 => 186, 412 => 181, 410 => 180, 402 => 176, 396 => 175, 393 => 174, 388 => 173, 386 => 172, 380 => 169, 374 => 165, 372 => 164, 366 => 160, 361 => 157, 352 => 154, 349 => 153, 345 => 152, 334 => 145, 328 => 141, 326 => 140, 313 => 130, 306 => 126, 294 => 116, 288 => 114, 282 => 110, 280 => 109, 275 => 106, 272 => 105, 266 => 103, 260 => 99, 258 => 98, 250 => 92, 248 => 91, 245 => 90, 239 => 88, 233 => 84, 231 => 83, 226 => 80, 220 => 78, 214 => 74, 212 => 73, 202 => 66, 194 => 61, 186 => 56, 178 => 51, 170 => 46, 160 => 39, 152 => 34, 144 => 29, 132 => 19, 126 => 17, 120 => 15, 118 => 14, 113 => 13, 111 => 12, 108 => 11, 95 => 10, 80 => 5, 77 => 4, 64 => 3, 41 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/command.svg') }}</span>
|
||||
<strong>Console Command</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>
|
||||
{% set command = collector.command %}
|
||||
<a href=\"{{ command.file|file_link(command.line) }}\">
|
||||
{% if command.executor is defined %}
|
||||
{{ command.executor|abbr_method }}
|
||||
{% else %}
|
||||
{{ command.class|abbr_class }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Command</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.duration }}</span>
|
||||
<span class=\"label\">Duration</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.maxMemoryUsage }}</span>
|
||||
<span class=\"label\">Peak Memory Usage</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ collector.verbosityLevel }}</span>
|
||||
<span class=\"label\">Verbosity Level</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.signalable is not empty ? 'yes' : 'no') ~ '.svg') }}</span>
|
||||
<span class=\"label\">Signalable</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.interactive ? 'yes' : 'no') ~ '.svg') }}</span>
|
||||
<span class=\"label\">Interactive</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.validateInput ? 'yes' : 'no') ~ '.svg') }}</span>
|
||||
<span class=\"label\">Validate Input</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.enabled ? 'yes' : 'no') ~ '.svg') }}</span>
|
||||
<span class=\"label\">Enabled</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.visible ? 'yes' : 'no') ~ '.svg') }}</span>
|
||||
<span class=\"label\">Visible</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Arguments</h3>
|
||||
|
||||
{% if collector.arguments is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No arguments were set</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.arguments, labels: ['Argument', 'Value'], maxDepth: 2 }, with_context=false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Options</h3>
|
||||
|
||||
{% if collector.options is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No options were set</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.options, labels: ['Option', 'Value'], maxDepth: 2 }, with_context=false) }}
|
||||
{% endif %}
|
||||
|
||||
{% if collector.interactive %}
|
||||
<h3>Interactive Inputs</h3>
|
||||
|
||||
<p class=\"help\">
|
||||
The values which have been set interactively.
|
||||
</p>
|
||||
|
||||
{% if collector.interactiveInputs is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No inputs were set</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.interactiveInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<h3>Application inputs</h3>
|
||||
|
||||
{% if collector.applicationInputs is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No application inputs are set</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.applicationInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Input / Output</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<table>
|
||||
<tr>
|
||||
<td class=\"font-normal\">Input</td>
|
||||
<td class=\"font-normal\">{{ profiler_dump(collector.input) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class=\"font-normal\">Output</td>
|
||||
<td class=\"font-normal\">{{ profiler_dump(collector.output) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Helper Set</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
{% if collector.helperSet is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No helpers</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<table class=\"{{ class|default('') }}\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\">Helpers</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for helper in collector.helperSet|sort %}
|
||||
<tr>
|
||||
<td>{{ profiler_dump(helper) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
{% set request_collector = profile.collectors.request %}
|
||||
<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: request_collector.dotenvvars }, with_context = false) }}
|
||||
|
||||
<h4>Defined as regular env variables</h4>
|
||||
{% set requestserver = [] %}
|
||||
{% for key, value in request_collector.requestserver|filter((_, key) => key not in request_collector.dotenvvars.keys) %}
|
||||
{% set requestserver = requestserver|merge({(key): value}) %}
|
||||
{% endfor %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: requestserver }, with_context = false) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if collector.signalable is not empty %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Signals</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Subscribed signals</h3>
|
||||
{{ collector.signalable|join(', ') }}
|
||||
|
||||
<h3>Handled signals</h3>
|
||||
{% if collector.handledSignals is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No signals handled</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Signal</th>
|
||||
<th>Times handled</th>
|
||||
<th>Total execution time</th>
|
||||
<th>Memory peak</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for signal, data in collector.handledSignals %}
|
||||
<tr>
|
||||
<td>{{ signal }}</td>
|
||||
<td>{{ data.handled }}</td>
|
||||
<td>{{ data.duration }} ms</td>
|
||||
<td>{{ data.memory }} MiB</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if profile.parent %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Parent Command</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>
|
||||
<a href=\"{{ path('_profiler', { token: profile.parent.token }) }}\">Return to parent command</a>
|
||||
<small>(token = {{ profile.parent.token }})</small>
|
||||
</h3>
|
||||
|
||||
{{ profile.parent.url }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if profile.children|length %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Sub Commands <span class=\"badge\">{{ profile.children|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
{% for child in profile.children %}
|
||||
<h3>
|
||||
{{ child.url }}
|
||||
<small>(token = <a href=\"{{ path('_profiler', { token: child.token }) }}\">{{ child.token }}</a>)</small>
|
||||
</h3>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/command.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/command.html.twig");
|
||||
}
|
||||
}
|
||||
238
var/cache/dev/twig/b4/b4c0c7734f527d15655f2164733b00d6.php
vendored
Normal file
238
var/cache/dev/twig/b4/b4c0c7734f527d15655f2164733b00d6.php
vendored
Normal file
@@ -0,0 +1,238 @@
|
||||
<?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/open.css.twig */
|
||||
class __TwigTemplate_dcb8dc3a2f52afc5bf096217019cbd4b 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/open.css.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/open.css.twig"));
|
||||
|
||||
// line 1
|
||||
yield "#header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#source {
|
||||
background: var(--page-background);
|
||||
border: 1px solid var(--menu-border-color);
|
||||
box-shadow: 0 0 0 5px var(--page-background);
|
||||
border-radius: 6px;
|
||||
margin: 0 30px 45px 0;
|
||||
max-width: 960px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
.width-full #source {
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#source code {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#source .source-file-name {
|
||||
border-bottom: 1px solid var(--table-border-color);
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin: 0 0 15px 0;
|
||||
padding: 0 0 15px;
|
||||
}
|
||||
#source .source-file-name small {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
#source .source-content {
|
||||
overflow-x: auto;
|
||||
}
|
||||
#source .source-content ol {
|
||||
margin: 0;
|
||||
}
|
||||
#source .source-content ol li {
|
||||
margin: 0 0 2px 0;
|
||||
padding-left: 5px;
|
||||
white-space: preserve nowrap;
|
||||
}
|
||||
#source .source-content ol li::marker {
|
||||
color: var(--color-muted);
|
||||
font-family: var(--font-family-monospace);
|
||||
padding-right: 5px;
|
||||
}
|
||||
#source .source-content li.selected {
|
||||
background: var(--yellow-100);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.theme-dark #source .source-content li.selected {
|
||||
background: var(--gray-600);
|
||||
}
|
||||
#source .source-content li.selected::marker {
|
||||
color: var(--color-text);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#source span[style=\"color: #FF8000\"] { color: var(--highlight-comment) !important; }
|
||||
#source span[style=\"color: #007700\"] { color: var(--highlight-keyword) !important; }
|
||||
#source span[style=\"color: #0000BB\"] { color: var(--color-text) !important; }
|
||||
#source span[style=\"color: #DD0000\"] { color: var(--highlight-string) !important; }
|
||||
|
||||
.file-metadata dt {
|
||||
color: var(--header-metadata-key);
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.file-metadata dd {
|
||||
color: var(--header-metadata-value);
|
||||
margin: 5px 0 20px;
|
||||
|
||||
/* needed to break the long file paths */
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/open.css.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("#header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#source {
|
||||
background: var(--page-background);
|
||||
border: 1px solid var(--menu-border-color);
|
||||
box-shadow: 0 0 0 5px var(--page-background);
|
||||
border-radius: 6px;
|
||||
margin: 0 30px 45px 0;
|
||||
max-width: 960px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
.width-full #source {
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#source code {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#source .source-file-name {
|
||||
border-bottom: 1px solid var(--table-border-color);
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin: 0 0 15px 0;
|
||||
padding: 0 0 15px;
|
||||
}
|
||||
#source .source-file-name small {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
#source .source-content {
|
||||
overflow-x: auto;
|
||||
}
|
||||
#source .source-content ol {
|
||||
margin: 0;
|
||||
}
|
||||
#source .source-content ol li {
|
||||
margin: 0 0 2px 0;
|
||||
padding-left: 5px;
|
||||
white-space: preserve nowrap;
|
||||
}
|
||||
#source .source-content ol li::marker {
|
||||
color: var(--color-muted);
|
||||
font-family: var(--font-family-monospace);
|
||||
padding-right: 5px;
|
||||
}
|
||||
#source .source-content li.selected {
|
||||
background: var(--yellow-100);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.theme-dark #source .source-content li.selected {
|
||||
background: var(--gray-600);
|
||||
}
|
||||
#source .source-content li.selected::marker {
|
||||
color: var(--color-text);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#source span[style=\"color: #FF8000\"] { color: var(--highlight-comment) !important; }
|
||||
#source span[style=\"color: #007700\"] { color: var(--highlight-keyword) !important; }
|
||||
#source span[style=\"color: #0000BB\"] { color: var(--color-text) !important; }
|
||||
#source span[style=\"color: #DD0000\"] { color: var(--highlight-string) !important; }
|
||||
|
||||
.file-metadata dt {
|
||||
color: var(--header-metadata-key);
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.file-metadata dd {
|
||||
color: var(--header-metadata-value);
|
||||
margin: 5px 0 20px;
|
||||
|
||||
/* needed to break the long file paths */
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
", "@WebProfiler/Profiler/open.css.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/open.css.twig");
|
||||
}
|
||||
}
|
||||
736
var/cache/dev/twig/b5/b582b2b4f8f8bdecd3d6388a601de5bb.php
vendored
Normal file
736
var/cache/dev/twig/b5/b582b2b4f8f8bdecd3d6388a601de5bb.php
vendored
Normal file
@@ -0,0 +1,736 @@
|
||||
<?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/settings.html.twig */
|
||||
class __TwigTemplate_83cdbf30de5c08d505c9bccc815d219e 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/settings.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/settings.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<style>
|
||||
:root {
|
||||
--settings-modal-shadow: 0 0 0 1px var(--gray-400), 5px 5px 20px 0 var(--gray-800);
|
||||
--settings-modal-header-background: var(--gray-200);
|
||||
--settings-modal-content-background: var(--gray-100);
|
||||
--settings-option-background: var(--page-background);
|
||||
--settings-option-border-color: var(--gray-300);
|
||||
--settings-option-color: var(--color-text);
|
||||
--settings-option-icon-color: var(--gray-400);
|
||||
--settings-option-active-border-color: #3b82f6;
|
||||
--settings-option-active-background: #eff6ff;
|
||||
--settings-option-active-color: var(--color-text);
|
||||
--settings-option-active-icon-color: var(--gray-400);
|
||||
}
|
||||
.theme-dark {
|
||||
--settings-modal-shadow: 0 0 0 1px var(--gray-600), 5px 5px 10px 0 var(--gray-900);
|
||||
--settings-modal-header-background: var(--gray-800);
|
||||
--settings-modal-content-background: var(--gray-700);
|
||||
--settings-option-background: transparent;
|
||||
--settings-option-border-color: var(--gray-500);
|
||||
--settings-option-color: var(--color-text);
|
||||
--settings-option-icon-color: var(--gray-300);
|
||||
--settings-option-active-border-color: #93c5fd;
|
||||
--settings-option-active-background: var(--gray-700);
|
||||
--settings-option-active-color: var(--color-text);
|
||||
--settings-option-active-icon-color: #93c5fd;
|
||||
}
|
||||
|
||||
#open-settings {
|
||||
color: var(--color-muted);
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: 10px 0 5px;
|
||||
}
|
||||
#open-settings .icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
#open-settings .icon, #open-settings svg {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.modal-wrap {
|
||||
-webkit-transition-duration: 0.3s;
|
||||
-webkit-transition-property: opacity, visibility;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
align-items: center;
|
||||
background: rgba(0, 0, 0, 0.70);
|
||||
display: flex;
|
||||
backdrop-filter: blur(2px);
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
transition-duration: 0.3s;
|
||||
transition-property: opacity, visibility;
|
||||
transition-timing-function: ease-in-out;
|
||||
visibility: hidden;
|
||||
width: 100%;
|
||||
z-index: 100000;
|
||||
}
|
||||
.modal-wrap.visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
.modal-wrap .modal-container {
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--settings-modal-shadow);
|
||||
color: var(--color-text);
|
||||
margin: 1em;
|
||||
max-width: 94%;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
.modal-wrap .modal-header {
|
||||
align-items: center;
|
||||
background: var(--settings-modal-header-background);
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 15px 30px;
|
||||
}
|
||||
.modal-wrap .modal-header h3 {
|
||||
margin: 0;
|
||||
}
|
||||
.modal-wrap .modal-header .close-modal {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: var(--color-muted);
|
||||
cursor: pointer;
|
||||
font-size: 28px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.modal-wrap .modal-header .close-modal:hover { opacity: 1; }
|
||||
|
||||
.modal-wrap .modal-content {
|
||||
background: var(--settings-modal-content-background);
|
||||
border-bottom-left-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
margin: 0;
|
||||
padding: 15px 30px;
|
||||
z-index: 100000;
|
||||
}
|
||||
.modal-content h4 {
|
||||
font-size: 18px;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.modal-content .settings-group + h4 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
.modal-content .settings-group {
|
||||
border: 1px solid var(--settings-option-border-color);
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.modal-content .settings-group label {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
.modal-content .settings-group label input {
|
||||
position: absolute;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
}
|
||||
.modal-content .settings-group:has(input:focus-visible) {
|
||||
outline: 2px dotted var(--settings-option-active-border-color);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.modal-content .settings-group label input:checked + p {
|
||||
box-shadow: inset 0 0 0 2px var(--settings-option-active-border-color);
|
||||
background-color: var(--settings-option-active-background);
|
||||
color: var(--settings-option-active-color);
|
||||
}
|
||||
.modal-content .settings-group label input:checked + p svg {
|
||||
color: var(--settings-option-active-icon-color);
|
||||
}
|
||||
.modal-content .settings-group label p {
|
||||
align-items: center;
|
||||
background: var(--settings-option-background);
|
||||
|
||||
color: var(--settings-option-color);
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
padding: 10px 15px;
|
||||
text-align: center;
|
||||
}
|
||||
.modal-content .settings-group label:first-child p {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.modal-content .settings-group label:last-child p {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
.modal-content .settings-group label + label p {
|
||||
border-left: 1px solid var(--settings-option-border-color);
|
||||
}
|
||||
.modal-content label p span {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
.modal-content label p abbr {
|
||||
border: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.modal-content label svg {
|
||||
color: var(--settings-option-icon-color);
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#open-settings {
|
||||
color: transparent;
|
||||
}
|
||||
#sidebar:hover #open-settings, #sidebar.expanded #open-settings {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<a href=\"#\" id=\"open-settings\">
|
||||
<span class=\"icon\">";
|
||||
// line 194
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings.svg");
|
||||
yield "</span>
|
||||
Profiler settings
|
||||
</a>
|
||||
|
||||
<div class=\"modal-wrap\" id=\"profiler-settings\">
|
||||
<div class=\"modal-container\">
|
||||
<div class=\"modal-header\">
|
||||
<h3>Configuration Settings</h3>
|
||||
<button aria-label=\"Close\" class=\"close-modal\">×</button>
|
||||
</div>
|
||||
|
||||
<div class=\"modal-content\">
|
||||
<h4>Theme</h4>
|
||||
|
||||
<div class=\"settings-group\">
|
||||
<label for=\"settings-theme-auto\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"auto\" id=\"settings-theme-auto\">
|
||||
<p>
|
||||
";
|
||||
// line 212
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings-theme-system.svg");
|
||||
yield "
|
||||
<span>System / OS</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-theme-light\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"light\" id=\"settings-theme-light\">
|
||||
<p>
|
||||
";
|
||||
// line 220
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings-theme-light.svg");
|
||||
yield "
|
||||
<span>Light</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-theme-dark\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"dark\" id=\"settings-theme-dark\">
|
||||
<p>
|
||||
";
|
||||
// line 228
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings-theme-dark.svg");
|
||||
yield "
|
||||
<span>Dark</span>
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<h4>Page Width</h4>
|
||||
|
||||
<div class=\"settings-group\">
|
||||
<label for=\"settings-width-normal\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"width\" value=\"normal\" id=\"settings-width-normal\">
|
||||
<p>
|
||||
";
|
||||
// line 240
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings-width-fixed.svg");
|
||||
yield "
|
||||
<span>Fixed width</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-width-full\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"width\" value=\"full\" id=\"settings-width-full\">
|
||||
<p>
|
||||
";
|
||||
// line 248
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/settings-width-fitted.svg");
|
||||
yield "
|
||||
<span>Fit to window</span>
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
const configOptions = document.querySelectorAll('.config-option');
|
||||
[...configOptions].forEach(option => {
|
||||
option.addEventListener('change', function (event) {
|
||||
const optionName = option.name;
|
||||
const optionValue = option.value;
|
||||
const settingName = 'symfony/profiler/' + optionName;
|
||||
const settingValue = optionName + '-' + optionValue;
|
||||
|
||||
localStorage.setItem(settingName, settingValue);
|
||||
|
||||
document.body.classList.forEach((cssClass) => {
|
||||
if (cssClass.startsWith(optionName)) {
|
||||
document.body.classList.remove(cssClass);
|
||||
}
|
||||
});
|
||||
|
||||
const resolvedSettingValue = 'theme-auto' === settingValue
|
||||
? (matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light')
|
||||
: settingValue;
|
||||
document.body.classList.add(resolvedSettingValue);
|
||||
|
||||
if (resolvedSettingValue.startsWith('theme-')) {
|
||||
document.body.style.colorScheme = resolvedSettingValue.endsWith('-light') ? 'light' : 'dark';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const openModalButton = document.getElementById('open-settings');
|
||||
const modalWindow = document.getElementById('profiler-settings');
|
||||
const closeModalButton = document.getElementsByClassName('close-modal')[0];
|
||||
const modalWrapper = document.getElementsByClassName('modal-wrap')[0];
|
||||
const closeModal = () => {
|
||||
modalWindow.classList.remove('visible');
|
||||
setTimeout(() => openModalButton.focus(), 30);
|
||||
};
|
||||
|
||||
openModalButton.addEventListener('click', function(event) {
|
||||
document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/theme') || 'theme-auto')).checked = 'checked';
|
||||
document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/width') || 'width-normal')).checked = 'checked';
|
||||
|
||||
modalWindow.classList.toggle('visible');
|
||||
setTimeout(() => closeModalButton.focus(), 30);
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
closeModalButton.addEventListener('click', closeModal);
|
||||
modalWrapper.addEventListener('click', function(event) {
|
||||
if (event.target == event.currentTarget) {
|
||||
closeModal();
|
||||
}
|
||||
});
|
||||
modalWrapper.addEventListener('keydown', function(event) {
|
||||
if (event.key === 'Esc' || event.key === 'Escape') {
|
||||
closeModal();
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/settings.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 312 => 248, 301 => 240, 286 => 228, 275 => 220, 264 => 212, 243 => 194, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<style>
|
||||
:root {
|
||||
--settings-modal-shadow: 0 0 0 1px var(--gray-400), 5px 5px 20px 0 var(--gray-800);
|
||||
--settings-modal-header-background: var(--gray-200);
|
||||
--settings-modal-content-background: var(--gray-100);
|
||||
--settings-option-background: var(--page-background);
|
||||
--settings-option-border-color: var(--gray-300);
|
||||
--settings-option-color: var(--color-text);
|
||||
--settings-option-icon-color: var(--gray-400);
|
||||
--settings-option-active-border-color: #3b82f6;
|
||||
--settings-option-active-background: #eff6ff;
|
||||
--settings-option-active-color: var(--color-text);
|
||||
--settings-option-active-icon-color: var(--gray-400);
|
||||
}
|
||||
.theme-dark {
|
||||
--settings-modal-shadow: 0 0 0 1px var(--gray-600), 5px 5px 10px 0 var(--gray-900);
|
||||
--settings-modal-header-background: var(--gray-800);
|
||||
--settings-modal-content-background: var(--gray-700);
|
||||
--settings-option-background: transparent;
|
||||
--settings-option-border-color: var(--gray-500);
|
||||
--settings-option-color: var(--color-text);
|
||||
--settings-option-icon-color: var(--gray-300);
|
||||
--settings-option-active-border-color: #93c5fd;
|
||||
--settings-option-active-background: var(--gray-700);
|
||||
--settings-option-active-color: var(--color-text);
|
||||
--settings-option-active-icon-color: #93c5fd;
|
||||
}
|
||||
|
||||
#open-settings {
|
||||
color: var(--color-muted);
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: 10px 0 5px;
|
||||
}
|
||||
#open-settings .icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
#open-settings .icon, #open-settings svg {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.modal-wrap {
|
||||
-webkit-transition-duration: 0.3s;
|
||||
-webkit-transition-property: opacity, visibility;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
align-items: center;
|
||||
background: rgba(0, 0, 0, 0.70);
|
||||
display: flex;
|
||||
backdrop-filter: blur(2px);
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
transition-duration: 0.3s;
|
||||
transition-property: opacity, visibility;
|
||||
transition-timing-function: ease-in-out;
|
||||
visibility: hidden;
|
||||
width: 100%;
|
||||
z-index: 100000;
|
||||
}
|
||||
.modal-wrap.visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
.modal-wrap .modal-container {
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--settings-modal-shadow);
|
||||
color: var(--color-text);
|
||||
margin: 1em;
|
||||
max-width: 94%;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
.modal-wrap .modal-header {
|
||||
align-items: center;
|
||||
background: var(--settings-modal-header-background);
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 15px 30px;
|
||||
}
|
||||
.modal-wrap .modal-header h3 {
|
||||
margin: 0;
|
||||
}
|
||||
.modal-wrap .modal-header .close-modal {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: var(--color-muted);
|
||||
cursor: pointer;
|
||||
font-size: 28px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.modal-wrap .modal-header .close-modal:hover { opacity: 1; }
|
||||
|
||||
.modal-wrap .modal-content {
|
||||
background: var(--settings-modal-content-background);
|
||||
border-bottom-left-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
margin: 0;
|
||||
padding: 15px 30px;
|
||||
z-index: 100000;
|
||||
}
|
||||
.modal-content h4 {
|
||||
font-size: 18px;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.modal-content .settings-group + h4 {
|
||||
margin-top: 30px;
|
||||
}
|
||||
.modal-content .settings-group {
|
||||
border: 1px solid var(--settings-option-border-color);
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.modal-content .settings-group label {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
.modal-content .settings-group label input {
|
||||
position: absolute;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
}
|
||||
.modal-content .settings-group:has(input:focus-visible) {
|
||||
outline: 2px dotted var(--settings-option-active-border-color);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.modal-content .settings-group label input:checked + p {
|
||||
box-shadow: inset 0 0 0 2px var(--settings-option-active-border-color);
|
||||
background-color: var(--settings-option-active-background);
|
||||
color: var(--settings-option-active-color);
|
||||
}
|
||||
.modal-content .settings-group label input:checked + p svg {
|
||||
color: var(--settings-option-active-icon-color);
|
||||
}
|
||||
.modal-content .settings-group label p {
|
||||
align-items: center;
|
||||
background: var(--settings-option-background);
|
||||
|
||||
color: var(--settings-option-color);
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
padding: 10px 15px;
|
||||
text-align: center;
|
||||
}
|
||||
.modal-content .settings-group label:first-child p {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.modal-content .settings-group label:last-child p {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
.modal-content .settings-group label + label p {
|
||||
border-left: 1px solid var(--settings-option-border-color);
|
||||
}
|
||||
.modal-content label p span {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
.modal-content label p abbr {
|
||||
border: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.modal-content label svg {
|
||||
color: var(--settings-option-icon-color);
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#open-settings {
|
||||
color: transparent;
|
||||
}
|
||||
#sidebar:hover #open-settings, #sidebar.expanded #open-settings {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<a href=\"#\" id=\"open-settings\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/settings.svg') }}</span>
|
||||
Profiler settings
|
||||
</a>
|
||||
|
||||
<div class=\"modal-wrap\" id=\"profiler-settings\">
|
||||
<div class=\"modal-container\">
|
||||
<div class=\"modal-header\">
|
||||
<h3>Configuration Settings</h3>
|
||||
<button aria-label=\"Close\" class=\"close-modal\">×</button>
|
||||
</div>
|
||||
|
||||
<div class=\"modal-content\">
|
||||
<h4>Theme</h4>
|
||||
|
||||
<div class=\"settings-group\">
|
||||
<label for=\"settings-theme-auto\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"auto\" id=\"settings-theme-auto\">
|
||||
<p>
|
||||
{{ source('@WebProfiler/Icon/settings-theme-system.svg') }}
|
||||
<span>System / OS</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-theme-light\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"light\" id=\"settings-theme-light\">
|
||||
<p>
|
||||
{{ source('@WebProfiler/Icon/settings-theme-light.svg') }}
|
||||
<span>Light</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-theme-dark\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"dark\" id=\"settings-theme-dark\">
|
||||
<p>
|
||||
{{ source('@WebProfiler/Icon/settings-theme-dark.svg') }}
|
||||
<span>Dark</span>
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<h4>Page Width</h4>
|
||||
|
||||
<div class=\"settings-group\">
|
||||
<label for=\"settings-width-normal\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"width\" value=\"normal\" id=\"settings-width-normal\">
|
||||
<p>
|
||||
{{ source('@WebProfiler/Icon/settings-width-fixed.svg') }}
|
||||
<span>Fixed width</span>
|
||||
</p>
|
||||
</label>
|
||||
|
||||
<label for=\"settings-width-full\">
|
||||
<input class=\"config-option\" type=\"radio\" name=\"width\" value=\"full\" id=\"settings-width-full\">
|
||||
<p>
|
||||
{{ source('@WebProfiler/Icon/settings-width-fitted.svg') }}
|
||||
<span>Fit to window</span>
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
const configOptions = document.querySelectorAll('.config-option');
|
||||
[...configOptions].forEach(option => {
|
||||
option.addEventListener('change', function (event) {
|
||||
const optionName = option.name;
|
||||
const optionValue = option.value;
|
||||
const settingName = 'symfony/profiler/' + optionName;
|
||||
const settingValue = optionName + '-' + optionValue;
|
||||
|
||||
localStorage.setItem(settingName, settingValue);
|
||||
|
||||
document.body.classList.forEach((cssClass) => {
|
||||
if (cssClass.startsWith(optionName)) {
|
||||
document.body.classList.remove(cssClass);
|
||||
}
|
||||
});
|
||||
|
||||
const resolvedSettingValue = 'theme-auto' === settingValue
|
||||
? (matchMedia('(prefers-color-scheme: dark)').matches ? 'theme-dark' : 'theme-light')
|
||||
: settingValue;
|
||||
document.body.classList.add(resolvedSettingValue);
|
||||
|
||||
if (resolvedSettingValue.startsWith('theme-')) {
|
||||
document.body.style.colorScheme = resolvedSettingValue.endsWith('-light') ? 'light' : 'dark';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const openModalButton = document.getElementById('open-settings');
|
||||
const modalWindow = document.getElementById('profiler-settings');
|
||||
const closeModalButton = document.getElementsByClassName('close-modal')[0];
|
||||
const modalWrapper = document.getElementsByClassName('modal-wrap')[0];
|
||||
const closeModal = () => {
|
||||
modalWindow.classList.remove('visible');
|
||||
setTimeout(() => openModalButton.focus(), 30);
|
||||
};
|
||||
|
||||
openModalButton.addEventListener('click', function(event) {
|
||||
document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/theme') || 'theme-auto')).checked = 'checked';
|
||||
document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/width') || 'width-normal')).checked = 'checked';
|
||||
|
||||
modalWindow.classList.toggle('visible');
|
||||
setTimeout(() => closeModalButton.focus(), 30);
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
closeModalButton.addEventListener('click', closeModal);
|
||||
modalWrapper.addEventListener('click', function(event) {
|
||||
if (event.target == event.currentTarget) {
|
||||
closeModal();
|
||||
}
|
||||
});
|
||||
modalWrapper.addEventListener('keydown', function(event) {
|
||||
if (event.key === 'Esc' || event.key === 'Escape') {
|
||||
closeModal();
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
", "@WebProfiler/Profiler/settings.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/settings.html.twig");
|
||||
}
|
||||
}
|
||||
122
var/cache/dev/twig/b8/b80e08d76b10432543e59d897f1326ea.php
vendored
Normal file
122
var/cache/dev/twig/b8/b80e08d76b10432543e59d897f1326ea.php
vendored
Normal file
@@ -0,0 +1,122 @@
|
||||
<?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/toolbar_item.html.twig */
|
||||
class __TwigTemplate_c975086819dcdba49540ab8da6dde855 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/toolbar_item.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/toolbar_item.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div class=\"sf-toolbar-block sf-toolbar-block-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 1, $this->source); })()), "html", null, true);
|
||||
yield " sf-toolbar-status-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("status", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["status"]) || array_key_exists("status", $context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.', 1, $this->source); })()), "normal")) : ("normal")), "html", null, true);
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("additional_classes", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["additional_classes"]) || array_key_exists("additional_classes", $context) ? $context["additional_classes"] : (function () { throw new RuntimeError('Variable "additional_classes" does not exist.', 1, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "\" ";
|
||||
yield ((array_key_exists("block_attrs", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["block_attrs"]) || array_key_exists("block_attrs", $context) ? $context["block_attrs"] : (function () { throw new RuntimeError('Variable "block_attrs" does not exist.', 1, $this->source); })()), "")) : (""));
|
||||
yield ">
|
||||
";
|
||||
// line 2
|
||||
if (( !array_key_exists("link", $context) || (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 2, $this->source); })()))) {
|
||||
yield "<a href=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("_profiler", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 2, $this->source); })()), "panel" => (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 2, $this->source); })())]), "html", null, true);
|
||||
yield "\">";
|
||||
}
|
||||
// line 3
|
||||
yield " <div class=\"sf-toolbar-icon\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("icon", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["icon"]) || array_key_exists("icon", $context) ? $context["icon"] : (function () { throw new RuntimeError('Variable "icon" does not exist.', 3, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "</div>
|
||||
";
|
||||
// line 4
|
||||
if ((($tmp = ((array_key_exists("link", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 4, $this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
yield "</a>";
|
||||
}
|
||||
// line 5
|
||||
yield " <div class=\"sf-toolbar-info\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("text", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["text"]) || array_key_exists("text", $context) ? $context["text"] : (function () { throw new RuntimeError('Variable "text" does not exist.', 5, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/toolbar_item.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 74 => 5, 70 => 4, 65 => 3, 59 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div class=\"sf-toolbar-block sf-toolbar-block-{{ name }} sf-toolbar-status-{{ status|default('normal') }} {{ additional_classes|default('') }}\" {{ block_attrs|default('')|raw }}>
|
||||
{% if link is not defined or link %}<a href=\"{{ url('_profiler', { token: token, panel: name }) }}\">{% endif %}
|
||||
<div class=\"sf-toolbar-icon\">{{ icon|default('') }}</div>
|
||||
{% if link|default(false) %}</a>{% endif %}
|
||||
<div class=\"sf-toolbar-info\">{{ text|default('') }}</div>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/toolbar_item.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_item.html.twig");
|
||||
}
|
||||
}
|
||||
4005
var/cache/dev/twig/c3/c397a2438e50f2aabd71ed5480fd3672.php
vendored
Normal file
4005
var/cache/dev/twig/c3/c397a2438e50f2aabd71ed5480fd3672.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
172
var/cache/dev/twig/c3/c3cfb6e3daeda79633f9936a608e812c.php
vendored
Normal file
172
var/cache/dev/twig/c3/c3cfb6e3daeda79633f9936a608e812c.php
vendored
Normal file
@@ -0,0 +1,172 @@
|
||||
<?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/cancel.html.twig */
|
||||
class __TwigTemplate_8b80d0bc1e125c1ed1a734aa00f45378 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
];
|
||||
}
|
||||
|
||||
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/cancel.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/cancel.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield from $this->unwrap()->yieldBlock('toolbar', $context, $blocks);
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 2
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 3
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/symfony.svg");
|
||||
yield "
|
||||
|
||||
<span class=\"sf-toolbar-value sf-toolbar-ajax-request-counter\">
|
||||
Loading…
|
||||
</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 9
|
||||
yield "
|
||||
";
|
||||
// line 10
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 11
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Loading the web debug toolbar…</b>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
Attempt #<span id=\"sfLoadCounter-";
|
||||
// line 15
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 15, $this->source); })()), "html", null, true);
|
||||
yield "\"></span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>
|
||||
<button class=\"sf-cancel-button\" type=\"button\" id=\"sfLoadCancel-";
|
||||
// line 19
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 19, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"Cancel loading\">Cancel</button>
|
||||
</b>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 23
|
||||
yield "
|
||||
";
|
||||
// line 24
|
||||
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.', 24, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/cancel.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 115 => 24, 112 => 23, 104 => 19, 97 => 15, 91 => 11, 89 => 10, 86 => 9, 75 => 3, 72 => 2, 49 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% block toolbar %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/symfony.svg') }}
|
||||
|
||||
<span class=\"sf-toolbar-value sf-toolbar-ajax-request-counter\">
|
||||
Loading…
|
||||
</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Loading the web debug toolbar…</b>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
Attempt #<span id=\"sfLoadCounter-{{ token }}\"></span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>
|
||||
<button class=\"sf-cancel-button\" type=\"button\" id=\"sfLoadCancel-{{ token }}\" title=\"Cancel loading\">Cancel</button>
|
||||
</b>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Profiler/cancel.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/cancel.html.twig");
|
||||
}
|
||||
}
|
||||
142
var/cache/dev/twig/c5/c58ee5ef49196ac495e399f1e1b01252.php
vendored
Normal file
142
var/cache/dev/twig/c5/c58ee5ef49196ac495e399f1e1b01252.php
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
<?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/Collector/exception.css.twig */
|
||||
class __TwigTemplate_79aefbcc3e8394b2c61ba8094e9a3d43 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.css.twig"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.css.twig"));
|
||||
|
||||
// line 1
|
||||
yield ".container {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container .container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.exception-summary {
|
||||
background: var(--base-0);
|
||||
border: var(--border);
|
||||
box-shadow: 0 0 1px rgba(128, 128, 128, .2);
|
||||
margin: 1em 0;
|
||||
padding: 10px;
|
||||
}
|
||||
.exception-summary.exception-without-message {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.exception-message {
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.exception-metadata,
|
||||
.exception-illustration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.exception-message-wrapper .container {
|
||||
min-height: unset;
|
||||
}
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/exception.css.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source(".container {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container .container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.exception-summary {
|
||||
background: var(--base-0);
|
||||
border: var(--border);
|
||||
box-shadow: 0 0 1px rgba(128, 128, 128, .2);
|
||||
margin: 1em 0;
|
||||
padding: 10px;
|
||||
}
|
||||
.exception-summary.exception-without-message {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.exception-message {
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.exception-metadata,
|
||||
.exception-illustration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.exception-message-wrapper .container {
|
||||
min-height: unset;
|
||||
}
|
||||
", "@WebProfiler/Collector/exception.css.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/exception.css.twig");
|
||||
}
|
||||
}
|
||||
186
var/cache/dev/twig/c5/c595acb00295af7276e7c656b4afacf6.php
vendored
Normal file
186
var/cache/dev/twig/c5/c595acb00295af7276e7c656b4afacf6.php
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
<?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/Collector/router.html.twig */
|
||||
class __TwigTemplate_f5fd3c44edf9acb74da6f8ffc89815cb 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/router.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/Collector/router.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 5
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 6
|
||||
yield "<span class=\"label\">
|
||||
<span class=\"icon\">";
|
||||
// line 7
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/router.svg");
|
||||
yield "</span>
|
||||
<strong>Routing</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 12
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 13
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.router::panelAction", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 13, $this->source); })())]));
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/router.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 131 => 13, 118 => 12, 103 => 7, 100 => 6, 87 => 5, 65 => 3, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/router.svg') }}</span>
|
||||
<strong>Routing</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{{ render(controller('web_profiler.controller.router::panelAction', { token: token })) }}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/router.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/router.html.twig");
|
||||
}
|
||||
}
|
||||
903
var/cache/dev/twig/c5/c5c9531b610119e0a475c92133f40dfa.php
vendored
Normal file
903
var/cache/dev/twig/c5/c5c9531b610119e0a475c92133f40dfa.php
vendored
Normal file
@@ -0,0 +1,903 @@
|
||||
<?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/Collector/messenger.html.twig */
|
||||
class __TwigTemplate_3efd458ebbcb85c8a2f7ff5c6d905c7e 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/messenger.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/Collector/messenger.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
|
||||
<style>
|
||||
.message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }
|
||||
.message-item tbody tr td:first-child { width: 170px; }
|
||||
|
||||
.message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }
|
||||
.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none; color: inherit; }
|
||||
.message-item .icon svg { height: 24px; width: 24px; }
|
||||
.message-item .icon-close svg { transform: rotate(180deg); }
|
||||
|
||||
.message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
|
||||
.message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
|
||||
|
||||
.message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }
|
||||
|
||||
.message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }
|
||||
|
||||
#collector-content .message-bus .trace {
|
||||
border: var(--border);
|
||||
background: var(--base-0);
|
||||
padding: 10px;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
#collector-content .message-bus .trace {
|
||||
font-size: 12px;
|
||||
}
|
||||
#collector-content .message-bus .trace li {
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#collector-content .message-bus .trace li.selected {
|
||||
background: var(--highlight-selected-line);
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 42
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 43
|
||||
yield " ";
|
||||
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.', 43, $this->source); })()), "messages", [], "any", false, false, false, 43)) > 0)) {
|
||||
// line 44
|
||||
yield " ";
|
||||
$context["status_color"] = (((($tmp = 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); })()), "exceptionsCount", [], "any", false, false, false, 44)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("red") : (""));
|
||||
// line 45
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 46
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/messenger.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 47
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 47, $this->source); })()), "messages", [], "any", false, false, false, 47)), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 49
|
||||
yield "
|
||||
";
|
||||
// line 50
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 51
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 51, $this->source); })()), "buses", [], "any", false, false, false, 51));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {
|
||||
// line 52
|
||||
yield " ";
|
||||
$context["exceptionsCount"] = 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.', 52, $this->source); })()), "exceptionsCount", [$context["bus"]], "method", false, false, false, 52);
|
||||
// line 53
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>";
|
||||
// line 54
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["bus"], "html", null, true);
|
||||
yield "</b>
|
||||
<span
|
||||
title=\"";
|
||||
// line 56
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 56, $this->source); })()), "html", null, true);
|
||||
yield " message(s) with exceptions\"
|
||||
class=\"sf-toolbar-status sf-toolbar-status-";
|
||||
// line 57
|
||||
yield (((($tmp = (isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 57, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("red") : (""));
|
||||
yield "\"
|
||||
>
|
||||
";
|
||||
// line 59
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 59, $this->source); })()), "messages", [$context["bus"]], "method", false, false, false, 59)), "html", null, true);
|
||||
yield "
|
||||
</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['bus'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 63
|
||||
yield " ";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 64
|
||||
yield "
|
||||
";
|
||||
// line 65
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => "messenger", "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 65, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 69
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 70
|
||||
yield " <span class=\"label";
|
||||
yield (((($tmp = 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.', 70, $this->source); })()), "exceptionsCount", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" label-status-error") : (""));
|
||||
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.', 70, $this->source); })()), "messages", [], "any", false, false, false, 70))) ? (" disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 71
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/messenger.svg");
|
||||
yield "</span>
|
||||
<strong>Messages</strong>
|
||||
";
|
||||
// line 73
|
||||
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.', 73, $this->source); })()), "exceptionsCount", [], "any", false, false, false, 73) > 0)) {
|
||||
// line 74
|
||||
yield " <span class=\"count\">
|
||||
<span>";
|
||||
// line 75
|
||||
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.', 75, $this->source); })()), "exceptionsCount", [], "any", false, false, false, 75), "html", null, true);
|
||||
yield "</span>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 78
|
||||
yield " </span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 81
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 82
|
||||
yield " <h2>Messages</h2>
|
||||
|
||||
";
|
||||
// line 84
|
||||
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.', 84, $this->source); })()), "messages", [], "any", false, false, false, 84))) {
|
||||
// line 85
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No messages have been collected.</p>
|
||||
</div>
|
||||
";
|
||||
} elseif ((1 == Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, // line 88
|
||||
(isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 88, $this->source); })()), "buses", [], "any", false, false, false, 88)))) {
|
||||
// line 89
|
||||
yield " <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
|
||||
";
|
||||
// line 90
|
||||
yield $this->getTemplateForMacro("macro_render_bus_messages", $context, 90, $this->getSourceContext())->macro_render_bus_messages(...[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.', 90, $this->source); })()), "messages", [], "any", false, false, false, 90), true]);
|
||||
yield "
|
||||
";
|
||||
} else {
|
||||
// line 92
|
||||
yield " <div class=\"sf-tabs message-bus\">
|
||||
<div class=\"tab\">
|
||||
";
|
||||
// line 94
|
||||
$context["messages"] = 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.', 94, $this->source); })()), "messages", [], "any", false, false, false, 94);
|
||||
// line 95
|
||||
yield " ";
|
||||
$context["exceptionsCount"] = 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.', 95, $this->source); })()), "exceptionsCount", [], "any", false, false, false, 95);
|
||||
// line 96
|
||||
yield " <h3 class=\"tab-title\">All<span class=\"badge ";
|
||||
yield (((($tmp = (isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 96, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 96, $this->source); })()) == Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 96, $this->source); })())))) ? ("status-error") : ("status-some-errors"))) : (""));
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 96, $this->source); })())), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
|
||||
";
|
||||
// line 100
|
||||
yield $this->getTemplateForMacro("macro_render_bus_messages", $context, 100, $this->getSourceContext())->macro_render_bus_messages(...[(isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 100, $this->source); })()), true]);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 104
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(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.', 104, $this->source); })()), "buses", [], "any", false, false, false, 104));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {
|
||||
// line 105
|
||||
yield " <div class=\"tab message-bus\">
|
||||
";
|
||||
// line 106
|
||||
$context["messages"] = 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); })()), "messages", [$context["bus"]], "method", false, false, false, 106);
|
||||
// line 107
|
||||
yield " ";
|
||||
$context["exceptionsCount"] = 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.', 107, $this->source); })()), "exceptionsCount", [$context["bus"]], "method", false, false, false, 107);
|
||||
// line 108
|
||||
yield " <h3 class=\"tab-title\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["bus"], "html", null, true);
|
||||
yield "<span class=\"badge ";
|
||||
yield (((($tmp = (isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 108, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 108, $this->source); })()) == Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 108, $this->source); })())))) ? ("status-error") : ("status-some-errors"))) : (""));
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 108, $this->source); })())), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"text-muted\">Ordered list of messages dispatched on the <code>";
|
||||
// line 111
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["bus"], "html", null, true);
|
||||
yield "</code> bus</p>
|
||||
";
|
||||
// line 112
|
||||
yield $this->getTemplateForMacro("macro_render_bus_messages", $context, 112, $this->getSourceContext())->macro_render_bus_messages(...[(isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 112, $this->source); })())]);
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['bus'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 116
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
// line 118
|
||||
yield "
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 121
|
||||
public function macro_render_bus_messages($messages = null, $showBus = false, ...$varargs): string|Markup
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = [
|
||||
"messages" => $messages,
|
||||
"showBus" => $showBus,
|
||||
"varargs" => $varargs,
|
||||
] + $this->env->getGlobals();
|
||||
|
||||
$blocks = [];
|
||||
|
||||
return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_bus_messages"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_bus_messages"));
|
||||
|
||||
// line 122
|
||||
yield " ";
|
||||
$context["discr"] = Twig\Extension\CoreExtension::random($this->env->getCharset());
|
||||
// line 123
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["messages"]) || array_key_exists("messages", $context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.', 123, $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["_key"] => $context["dispatchCall"]) {
|
||||
// line 124
|
||||
yield " <table class=\"message-item\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan=\"2\" class=\"sf-toggle\"
|
||||
data-toggle-selector=\"#message-item-";
|
||||
// line 128
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["discr"]) || array_key_exists("discr", $context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.', 128, $this->source); })()), "html", null, true);
|
||||
yield "-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 128), "html", null, true);
|
||||
yield "-details\"
|
||||
data-toggle-initial=\"";
|
||||
// line 129
|
||||
yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 129)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("display") : (""));
|
||||
yield "\"
|
||||
>
|
||||
<span class=\"dump-inline\">";
|
||||
// line 131
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "message", [], "any", false, false, false, 131), "type", [], "any", false, false, false, 131));
|
||||
yield "</span>
|
||||
";
|
||||
// line 132
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", true, true, false, 132)) {
|
||||
// line 133
|
||||
yield " <span class=\"label status-error\">exception</span>
|
||||
";
|
||||
}
|
||||
// line 135
|
||||
yield " <button class=\"btn btn-link toggle-button\" type=\"button\">
|
||||
<span class=\"icon icon-close\">";
|
||||
// line 136
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/chevron-down.svg");
|
||||
yield "</span>
|
||||
<span class=\"icon icon-open\">";
|
||||
// line 137
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/chevron-down.svg");
|
||||
yield "</span>
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id=\"message-item-";
|
||||
// line 142
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["discr"]) || array_key_exists("discr", $context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.', 142, $this->source); })()), "html", null, true);
|
||||
yield "-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 142), "html", null, true);
|
||||
yield "-details\" class=\"sf-toggle-content\">
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Caller</th>
|
||||
<td class=\"message-bus-dispatch-caller\">
|
||||
In
|
||||
";
|
||||
// line 147
|
||||
$context["caller"] = CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "caller", [], "any", false, false, false, 147);
|
||||
// line 148
|
||||
yield " ";
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 148, $this->source); })()), "line", [], "any", false, false, false, 148)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 149
|
||||
yield " ";
|
||||
$context["link"] = $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 149, $this->source); })()), "file", [], "any", false, false, false, 149), CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 149, $this->source); })()), "line", [], "any", false, false, false, 149));
|
||||
// line 150
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 150, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 151
|
||||
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.', 151, $this->source); })()), "html", null, true);
|
||||
yield "\" title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 151, $this->source); })()), "file", [], "any", false, false, false, 151), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 151, $this->source); })()), "name", [], "any", false, false, false, 151), "html", null, true);
|
||||
yield "</a>
|
||||
";
|
||||
} else {
|
||||
// line 153
|
||||
yield " <abbr title=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 153, $this->source); })()), "file", [], "any", false, false, false, 153), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 153, $this->source); })()), "name", [], "any", false, false, false, 153), "html", null, true);
|
||||
yield "</abbr>
|
||||
";
|
||||
}
|
||||
// line 155
|
||||
yield " ";
|
||||
} else {
|
||||
// line 156
|
||||
yield " ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 156, $this->source); })()), "name", [], "any", false, false, false, 156), "html", null, true);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 158
|
||||
yield " line <button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["discr"]) || array_key_exists("discr", $context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.', 158, $this->source); })()), "html", null, true);
|
||||
yield "-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 158), "html", null, true);
|
||||
yield "\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 158, $this->source); })()), "line", [], "any", false, false, false, 158), "html", null, true);
|
||||
yield "</button>
|
||||
|
||||
<div class=\"hidden\" id=\"sf-trace-";
|
||||
// line 160
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["discr"]) || array_key_exists("discr", $context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.', 160, $this->source); })()), "html", null, true);
|
||||
yield "-";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 160), "html", null, true);
|
||||
yield "\">
|
||||
<div class=\"trace\">
|
||||
";
|
||||
// line 162
|
||||
yield Twig\Extension\CoreExtension::replace($this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->fileExcerpt(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 162, $this->source); })()), "file", [], "any", false, false, false, 162), CoreExtension::getAttribute($this->env, $this->source, (isset($context["caller"]) || array_key_exists("caller", $context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.', 162, $this->source); })()), "line", [], "any", false, false, false, 162)), ["#DD0000" => "var(--highlight-string)", "#007700" => "var(--highlight-keyword)", "#0000BB" => "var(--highlight-default)", "#FF8000" => "var(--highlight-comment)"]);
|
||||
// line 167
|
||||
yield "
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
// line 172
|
||||
if ((($tmp = (isset($context["showBus"]) || array_key_exists("showBus", $context) ? $context["showBus"] : (function () { throw new RuntimeError('Variable "showBus" does not exist.', 172, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 173
|
||||
yield " <tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Bus</th>
|
||||
<td>";
|
||||
// line 175
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "bus", [], "any", false, false, false, 175), "html", null, true);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 178
|
||||
yield " <tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Message</th>
|
||||
<td>";
|
||||
// line 180
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "message", [], "any", false, false, false, 180), "value", [], "any", false, false, false, 180), 2);
|
||||
yield "</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th>
|
||||
<td>
|
||||
";
|
||||
// line 185
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "stamps", [], "any", false, false, false, 185));
|
||||
$context['_iterated'] = false;
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
|
||||
// line 186
|
||||
yield " ";
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["item"]);
|
||||
yield "
|
||||
";
|
||||
$context['_iterated'] = true;
|
||||
}
|
||||
// line 187
|
||||
if (!$context['_iterated']) {
|
||||
// line 188
|
||||
yield " <span class=\"text-muted font-normal\">No items</span>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['_iterated']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 190
|
||||
yield " </td>
|
||||
</tr>
|
||||
";
|
||||
// line 192
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "stamps_after_dispatch", [], "any", true, true, false, 192)) {
|
||||
// line 193
|
||||
yield " <tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th>
|
||||
<td>
|
||||
";
|
||||
// line 196
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "stamps_after_dispatch", [], "any", false, false, false, 196));
|
||||
$context['_iterated'] = false;
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
|
||||
// line 197
|
||||
yield " ";
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["item"]);
|
||||
yield "
|
||||
";
|
||||
$context['_iterated'] = true;
|
||||
}
|
||||
// line 198
|
||||
if (!$context['_iterated']) {
|
||||
// line 199
|
||||
yield " <span class=\"text-muted\">No items</span>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['_iterated']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 201
|
||||
yield " </td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 204
|
||||
yield " ";
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", true, true, false, 204)) {
|
||||
// line 205
|
||||
yield " <tr>
|
||||
<td class=\"text-bold\">Exception</td>
|
||||
<td>
|
||||
";
|
||||
// line 208
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", false, false, false, 208), "value", [], "any", false, false, false, 208), 1);
|
||||
yield "
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 212
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
++$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['_key'], $context['dispatchCall'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/messenger.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 635 => 212, 628 => 208, 623 => 205, 620 => 204, 615 => 201, 608 => 199, 606 => 198, 599 => 197, 594 => 196, 589 => 193, 587 => 192, 583 => 190, 576 => 188, 574 => 187, 567 => 186, 562 => 185, 554 => 180, 550 => 178, 544 => 175, 540 => 173, 538 => 172, 531 => 167, 529 => 162, 522 => 160, 512 => 158, 506 => 156, 503 => 155, 495 => 153, 485 => 151, 482 => 150, 479 => 149, 476 => 148, 474 => 147, 464 => 142, 456 => 137, 452 => 136, 449 => 135, 445 => 133, 443 => 132, 439 => 131, 434 => 129, 428 => 128, 422 => 124, 404 => 123, 401 => 122, 382 => 121, 370 => 118, 366 => 116, 356 => 112, 352 => 111, 341 => 108, 338 => 107, 336 => 106, 333 => 105, 329 => 104, 322 => 100, 312 => 96, 309 => 95, 307 => 94, 303 => 92, 298 => 90, 295 => 89, 293 => 88, 288 => 85, 286 => 84, 282 => 82, 269 => 81, 257 => 78, 251 => 75, 248 => 74, 246 => 73, 241 => 71, 235 => 70, 222 => 69, 208 => 65, 205 => 64, 201 => 63, 191 => 59, 186 => 57, 182 => 56, 177 => 54, 174 => 53, 171 => 52, 166 => 51, 164 => 50, 161 => 49, 155 => 47, 150 => 46, 147 => 45, 144 => 44, 141 => 43, 128 => 42, 79 => 4, 66 => 3, 43 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
<style>
|
||||
.message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }
|
||||
.message-item tbody tr td:first-child { width: 170px; }
|
||||
|
||||
.message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }
|
||||
.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none; color: inherit; }
|
||||
.message-item .icon svg { height: 24px; width: 24px; }
|
||||
.message-item .icon-close svg { transform: rotate(180deg); }
|
||||
|
||||
.message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
|
||||
.message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
|
||||
|
||||
.message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }
|
||||
|
||||
.message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }
|
||||
|
||||
#collector-content .message-bus .trace {
|
||||
border: var(--border);
|
||||
background: var(--base-0);
|
||||
padding: 10px;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
#collector-content .message-bus .trace {
|
||||
font-size: 12px;
|
||||
}
|
||||
#collector-content .message-bus .trace li {
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#collector-content .message-bus .trace li.selected {
|
||||
background: var(--highlight-selected-line);
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.messages|length > 0 %}
|
||||
{% set status_color = collector.exceptionsCount ? 'red' %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/messenger.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ collector.messages|length }}</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
{% for bus in collector.buses %}
|
||||
{% set exceptionsCount = collector.exceptionsCount(bus) %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>{{ bus }}</b>
|
||||
<span
|
||||
title=\"{{ exceptionsCount }} message(s) with exceptions\"
|
||||
class=\"sf-toolbar-status sf-toolbar-status-{{ exceptionsCount ? 'red' }}\"
|
||||
>
|
||||
{{ collector.messages(bus)|length }}
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: 'messenger', status: status_color }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label{{ collector.exceptionsCount ? ' label-status-error' }}{{ collector.messages is empty ? ' disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/messenger.svg') }}</span>
|
||||
<strong>Messages</strong>
|
||||
{% if collector.exceptionsCount > 0 %}
|
||||
<span class=\"count\">
|
||||
<span>{{ collector.exceptionsCount }}</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Messages</h2>
|
||||
|
||||
{% if collector.messages is empty %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No messages have been collected.</p>
|
||||
</div>
|
||||
{% elseif 1 == collector.buses|length %}
|
||||
<p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
|
||||
{{ _self.render_bus_messages(collector.messages, true) }}
|
||||
{% else %}
|
||||
<div class=\"sf-tabs message-bus\">
|
||||
<div class=\"tab\">
|
||||
{% set messages = collector.messages %}
|
||||
{% set exceptionsCount = collector.exceptionsCount %}
|
||||
<h3 class=\"tab-title\">All<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
|
||||
{{ _self.render_bus_messages(messages, true) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for bus in collector.buses %}
|
||||
<div class=\"tab message-bus\">
|
||||
{% set messages = collector.messages(bus) %}
|
||||
{% set exceptionsCount = collector.exceptionsCount(bus) %}
|
||||
<h3 class=\"tab-title\">{{ bus }}<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<p class=\"text-muted\">Ordered list of messages dispatched on the <code>{{ bus }}</code> bus</p>
|
||||
{{ _self.render_bus_messages(messages) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% macro render_bus_messages(messages, showBus = false) %}
|
||||
{% set discr = random() %}
|
||||
{% for dispatchCall in messages %}
|
||||
<table class=\"message-item\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan=\"2\" class=\"sf-toggle\"
|
||||
data-toggle-selector=\"#message-item-{{ discr }}-{{ loop.index0 }}-details\"
|
||||
data-toggle-initial=\"{{ loop.first ? 'display' }}\"
|
||||
>
|
||||
<span class=\"dump-inline\">{{ profiler_dump(dispatchCall.message.type) }}</span>
|
||||
{% if dispatchCall.exception is defined %}
|
||||
<span class=\"label status-error\">exception</span>
|
||||
{% endif %}
|
||||
<button class=\"btn btn-link toggle-button\" type=\"button\">
|
||||
<span class=\"icon icon-close\">{{ source('@WebProfiler/Icon/chevron-down.svg') }}</span>
|
||||
<span class=\"icon icon-open\">{{ source('@WebProfiler/Icon/chevron-down.svg') }}</span>
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id=\"message-item-{{ discr }}-{{ loop.index0 }}-details\" class=\"sf-toggle-content\">
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Caller</th>
|
||||
<td class=\"message-bus-dispatch-caller\">
|
||||
In
|
||||
{% set caller = dispatchCall.caller %}
|
||||
{% if caller.line %}
|
||||
{% set link = caller.file|file_link(caller.line) %}
|
||||
{% if link %}
|
||||
<a href=\"{{ link }}\" title=\"{{ caller.file }}\">{{ caller.name }}</a>
|
||||
{% else %}
|
||||
<abbr title=\"{{ caller.file }}\">{{ caller.name }}</abbr>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ caller.name }}
|
||||
{% endif %}
|
||||
line <button type=\"button\" class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ discr }}-{{ loop.index0 }}\">{{ caller.line }}</button>
|
||||
|
||||
<div class=\"hidden\" id=\"sf-trace-{{ discr }}-{{ loop.index0 }}\">
|
||||
<div class=\"trace\">
|
||||
{{ caller.file|file_excerpt(caller.line)|replace({
|
||||
'#DD0000': 'var(--highlight-string)',
|
||||
'#007700': 'var(--highlight-keyword)',
|
||||
'#0000BB': 'var(--highlight-default)',
|
||||
'#FF8000': 'var(--highlight-comment)'
|
||||
})|raw }}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% if showBus %}
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Bus</th>
|
||||
<td>{{ dispatchCall.bus }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Message</th>
|
||||
<td>{{ profiler_dump(dispatchCall.message.value, maxDepth=2) }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th>
|
||||
<td>
|
||||
{% for item in dispatchCall.stamps %}
|
||||
{{ profiler_dump(item) }}
|
||||
{% else %}
|
||||
<span class=\"text-muted font-normal\">No items</span>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% if dispatchCall.stamps_after_dispatch is defined %}
|
||||
<tr>
|
||||
<th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th>
|
||||
<td>
|
||||
{% for item in dispatchCall.stamps_after_dispatch %}
|
||||
{{ profiler_dump(item) }}
|
||||
{% else %}
|
||||
<span class=\"text-muted\">No items</span>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if dispatchCall.exception is defined %}
|
||||
<tr>
|
||||
<td class=\"text-bold\">Exception</td>
|
||||
<td>
|
||||
{{ profiler_dump(dispatchCall.exception.value, maxDepth=1) }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
", "@WebProfiler/Collector/messenger.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/messenger.html.twig");
|
||||
}
|
||||
}
|
||||
115
var/cache/dev/twig/cc/cc256b38c5556f8c6b846ff505bb69da.php
vendored
Normal file
115
var/cache/dev/twig/cc/cc256b38c5556f8c6b846ff505bb69da.php
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
<?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/header.html.twig */
|
||||
class __TwigTemplate_57ae196576b3607e8559cc53ab8540ca 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/header.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/header.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div id=\"header\">
|
||||
<h1><a href=\"";
|
||||
// line 2
|
||||
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_home");
|
||||
yield "\">";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/symfony.svg");
|
||||
yield " Symfony Profiler</a></h1>
|
||||
|
||||
<div class=\"search\">
|
||||
<form method=\"get\" action=\"https://symfony.com/search\" target=\"_blank\">
|
||||
<div class=\"form-row\">
|
||||
<input name=\"q\" id=\"search-id\" type=\"search\" placeholder=\"search on symfony.com\" aria-label=\"Search on symfony.com\">
|
||||
<button type=\"submit\" class=\"visually-hidden\">Search</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/header.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 51 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div id=\"header\">
|
||||
<h1><a href=\"{{ path('_profiler_home') }}\">{{ source('@WebProfiler/Icon/symfony.svg') }} Symfony Profiler</a></h1>
|
||||
|
||||
<div class=\"search\">
|
||||
<form method=\"get\" action=\"https://symfony.com/search\" target=\"_blank\">
|
||||
<div class=\"form-row\">
|
||||
<input name=\"q\" id=\"search-id\" type=\"search\" placeholder=\"search on symfony.com\" aria-label=\"Search on symfony.com\">
|
||||
<button type=\"submit\" class=\"visually-hidden\">Search</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/header.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/header.html.twig");
|
||||
}
|
||||
}
|
||||
681
var/cache/dev/twig/cc/cc45b2b81fe5708c5f03b1a3ddc95ede.php
vendored
Normal file
681
var/cache/dev/twig/cc/cc45b2b81fe5708c5f03b1a3ddc95ede.php
vendored
Normal file
@@ -0,0 +1,681 @@
|
||||
<?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/Collector/notifier.html.twig */
|
||||
class __TwigTemplate_b6486d226dfc5f4efe3c0e82caf78a40 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'head' => [$this, 'block_head'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/notifier.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/Collector/notifier.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
$context["events"] = 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.', 4, $this->source); })()), "events", [], "any", false, false, false, 4);
|
||||
// line 5
|
||||
yield "
|
||||
";
|
||||
// line 6
|
||||
if ((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 6, $this->source); })()), "messages", [], "any", false, false, false, 6))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 7
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 8
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/notifier.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 9
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 9, $this->source); })()), "messages", [], "any", false, false, false, 9)), "html", null, true);
|
||||
yield "</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 11
|
||||
yield "
|
||||
";
|
||||
// line 12
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 13
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Sent notifications</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 15
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 15, $this->source); })()), "messages", [], "any", false, false, false, 15)), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 18
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 18, $this->source); })()), "transports", [], "any", false, false, false, 18));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
|
||||
// line 19
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>";
|
||||
// line 20
|
||||
yield (($context["transport"]) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true)) : ("<em>Empty Transport Name</em>"));
|
||||
yield "</b>
|
||||
<span class=\"sf-toolbar-status\">";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 21, $this->source); })()), "messages", [$context["transport"]], "method", false, false, false, 21)), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 24
|
||||
yield " ";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 25
|
||||
yield "
|
||||
";
|
||||
// line 26
|
||||
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.', 26, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 30
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 31
|
||||
yield " ";
|
||||
yield from $this->yieldParentBlock("head", $context, $blocks);
|
||||
yield "
|
||||
<style>
|
||||
/* utility classes */
|
||||
.m-t-0 { margin-top: 0 !important; }
|
||||
.m-t-10 { margin-top: 10px !important; }
|
||||
|
||||
/* basic grid */
|
||||
.row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-right: -15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
.col {
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 1px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
.col-4 {
|
||||
flex: 0 0 33.333333%;
|
||||
max-width: 33.333333%;
|
||||
}
|
||||
|
||||
/* small tabs */
|
||||
.sf-tabs-sm .tab-navigation li {
|
||||
font-size: 14px;
|
||||
padding: .3em .5em;
|
||||
}
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 67
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 68
|
||||
yield " ";
|
||||
$context["events"] = 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); })()), "events", [], "any", false, false, false, 68);
|
||||
// line 69
|
||||
yield "
|
||||
<span class=\"label ";
|
||||
// line 70
|
||||
yield (((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 70, $this->source); })()), "messages", [], "any", false, false, false, 70))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("") : ("disabled"));
|
||||
yield "\">
|
||||
<span class=\"icon\">";
|
||||
// line 71
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/notifier.svg");
|
||||
yield "</span>
|
||||
|
||||
<strong>Notifications</strong>
|
||||
";
|
||||
// line 74
|
||||
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 74, $this->source); })()), "messages", [], "any", false, false, false, 74)) > 0)) {
|
||||
// line 75
|
||||
yield " <span class=\"count\">
|
||||
<span>";
|
||||
// line 76
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 76, $this->source); })()), "messages", [], "any", false, false, false, 76)), "html", null, true);
|
||||
yield "</span>
|
||||
</span>
|
||||
";
|
||||
}
|
||||
// line 79
|
||||
yield " </span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 82
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 83
|
||||
yield " ";
|
||||
$context["events"] = 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.', 83, $this->source); })()), "events", [], "any", false, false, false, 83);
|
||||
// line 84
|
||||
yield "
|
||||
<h2>Notifications</h2>
|
||||
|
||||
";
|
||||
// line 87
|
||||
if ((($tmp = !Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 87, $this->source); })()), "messages", [], "any", false, false, false, 87))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 88
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No notifications were sent.</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 92
|
||||
yield "
|
||||
<div class=\"metrics\">
|
||||
";
|
||||
// line 94
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 94, $this->source); })()), "transports", [], "any", false, false, false, 94));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
|
||||
// line 95
|
||||
yield " <div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 96
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 96, $this->source); })()), "messages", [$context["transport"]], "method", false, false, false, 96)), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 97
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 100
|
||||
yield " </div>
|
||||
|
||||
";
|
||||
// line 102
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 102, $this->source); })()), "transports", [], "any", false, false, false, 102));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
|
||||
// line 103
|
||||
yield " <h3>";
|
||||
yield (($context["transport"]) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true)) : ("<em>Empty Transport Name</em>"));
|
||||
yield "</h3>
|
||||
|
||||
<div class=\"card-block\">
|
||||
<div class=\"sf-tabs sf-tabs-sm\">
|
||||
";
|
||||
// line 107
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 107, $this->source); })()), "events", [$context["transport"]], "method", false, false, false, 107));
|
||||
$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["_key"] => $context["event"]) {
|
||||
// line 108
|
||||
yield " ";
|
||||
$context["message"] = CoreExtension::getAttribute($this->env, $this->source, $context["event"], "message", [], "any", false, false, false, 108);
|
||||
// line 109
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Message #";
|
||||
// line 110
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 110), "html", null, true);
|
||||
yield " <small>(";
|
||||
yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["event"], "isQueued", [], "method", false, false, false, 110)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("queued") : ("sent"));
|
||||
yield ")</small></h3>
|
||||
<div class=\"tab-content\">
|
||||
<div class=\"card\">
|
||||
<div class=\"card-block\">
|
||||
<span class=\"label\">Subject</span>
|
||||
<h2 class=\"m-t-10\">";
|
||||
// line 115
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["message"] ?? null), "getSubject", [], "method", true, true, false, 115) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 115, $this->source); })()), "getSubject", [], "method", false, false, false, 115)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 115, $this->source); })()), "getSubject", [], "method", false, false, false, 115), "html", null, true)) : ("(empty)"));
|
||||
yield "</h2>
|
||||
</div>
|
||||
";
|
||||
// line 117
|
||||
$context["notification"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["message"] ?? null), "notification", [], "any", true, true, false, 117) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 117, $this->source); })()), "notification", [], "any", false, false, false, 117)))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 117, $this->source); })()), "notification", [], "any", false, false, false, 117)) : (null));
|
||||
// line 118
|
||||
yield " ";
|
||||
if ((($tmp = (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 118, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 119
|
||||
yield " <div class=\"card-block\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col\">
|
||||
<span class=\"label\">Content</span>
|
||||
<pre class=\"prewrap\">";
|
||||
// line 123
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["notification"] ?? null), "getContent", [], "method", true, true, false, 123) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 123, $this->source); })()), "getContent", [], "method", false, false, false, 123)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 123, $this->source); })()), "getContent", [], "method", false, false, false, 123), "html", null, true)) : ("(empty)"));
|
||||
yield "</pre>
|
||||
<span class=\"label\">Importance</span>
|
||||
<pre class=\"prewrap\">";
|
||||
// line 125
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 125, $this->source); })()), "getImportance", [], "method", false, false, false, 125), "html", null, true);
|
||||
yield "</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 130
|
||||
yield " <div class=\"card-block\">
|
||||
<div class=\"sf-tabs sf-tabs-sm\">
|
||||
";
|
||||
// line 132
|
||||
if ((($tmp = (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 132, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 133
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Notification</h3>
|
||||
<div class=\"tab-content\">
|
||||
<pre class=\"prewrap\" style=\"max-height: 600px\">";
|
||||
// line 137
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Subject: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 137, $this->source); })()), "getSubject", [], "method", false, false, false, 137)), "html", null, true);
|
||||
yield "<br/>";
|
||||
// line 138
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Content: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 138, $this->source); })()), "getContent", [], "method", false, false, false, 138)), "html", null, true);
|
||||
yield "<br/>";
|
||||
// line 139
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Importance: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 139, $this->source); })()), "getImportance", [], "method", false, false, false, 139)), "html", null, true);
|
||||
yield "<br/>";
|
||||
// line 140
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Emoji: " . ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 140, $this->source); })()), "getEmoji", [], "method", false, false, false, 140))) ? ("(empty)") : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 140, $this->source); })()), "getEmoji", [], "method", false, false, false, 140)))), "html", null, true);
|
||||
yield "<br/>";
|
||||
// line 141
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Exception: " . (((CoreExtension::getAttribute($this->env, $this->source, ($context["notification"] ?? null), "getException", [], "method", true, true, false, 141) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 141, $this->source); })()), "getException", [], "method", false, false, false, 141)))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 141, $this->source); })()), "getException", [], "method", false, false, false, 141)) : ("(empty)"))), "html", null, true);
|
||||
yield "<br/>";
|
||||
// line 142
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("ExceptionAsString: " . ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 142, $this->source); })()), "getExceptionAsString", [], "method", false, false, false, 142))) ? ("(empty)") : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 142, $this->source); })()), "getExceptionAsString", [], "method", false, false, false, 142)))), "html", null, true);
|
||||
yield "
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 147
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Message Options</h3>
|
||||
<div class=\"tab-content\">
|
||||
<pre class=\"prewrap\" style=\"max-height: 600px\">";
|
||||
// line 151
|
||||
if ((null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 151, $this->source); })()), "getOptions", [], "method", false, false, false, 151))) {
|
||||
// line 152
|
||||
yield "(empty)";
|
||||
} else {
|
||||
// line 154
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 154, $this->source); })()), "getOptions", [], "method", false, false, false, 154), "toArray", [], "method", false, false, false, 154), Twig\Extension\CoreExtension::constant("JSON_PRETTY_PRINT")), "html", null, true);
|
||||
}
|
||||
// line 156
|
||||
yield " </pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
++$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['_key'], $context['event'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 165
|
||||
yield " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/notifier.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 469 => 165, 447 => 156, 444 => 154, 441 => 152, 439 => 151, 434 => 147, 426 => 142, 423 => 141, 420 => 140, 417 => 139, 414 => 138, 411 => 137, 406 => 133, 404 => 132, 400 => 130, 392 => 125, 387 => 123, 381 => 119, 378 => 118, 376 => 117, 371 => 115, 361 => 110, 358 => 109, 355 => 108, 338 => 107, 330 => 103, 326 => 102, 322 => 100, 313 => 97, 309 => 96, 306 => 95, 302 => 94, 298 => 92, 292 => 88, 290 => 87, 285 => 84, 282 => 83, 269 => 82, 257 => 79, 251 => 76, 248 => 75, 246 => 74, 240 => 71, 236 => 70, 233 => 69, 230 => 68, 217 => 67, 170 => 31, 157 => 30, 143 => 26, 140 => 25, 136 => 24, 127 => 21, 123 => 20, 120 => 19, 116 => 18, 110 => 15, 106 => 13, 104 => 12, 101 => 11, 95 => 9, 90 => 8, 87 => 7, 85 => 6, 82 => 5, 79 => 4, 66 => 3, 43 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% set events = collector.events %}
|
||||
|
||||
{% if events.messages|length %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/notifier.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ events.messages|length }}</span>
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Sent notifications</b>
|
||||
<span class=\"sf-toolbar-status\">{{ events.messages|length }}</span>
|
||||
</div>
|
||||
|
||||
{% for transport in events.transports %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>{{ transport ?: '<em>Empty Transport Name</em>' }}</b>
|
||||
<span class=\"sf-toolbar-status\">{{ events.messages(transport)|length }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': profiler_url }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
<style>
|
||||
/* utility classes */
|
||||
.m-t-0 { margin-top: 0 !important; }
|
||||
.m-t-10 { margin-top: 10px !important; }
|
||||
|
||||
/* basic grid */
|
||||
.row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-right: -15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
.col {
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 1px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
.col-4 {
|
||||
flex: 0 0 33.333333%;
|
||||
max-width: 33.333333%;
|
||||
}
|
||||
|
||||
/* small tabs */
|
||||
.sf-tabs-sm .tab-navigation li {
|
||||
font-size: 14px;
|
||||
padding: .3em .5em;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
{% set events = collector.events %}
|
||||
|
||||
<span class=\"label {{ events.messages|length ? '' : 'disabled' }}\">
|
||||
<span class=\"icon\">{{ source('@WebProfiler/Icon/notifier.svg') }}</span>
|
||||
|
||||
<strong>Notifications</strong>
|
||||
{% if events.messages|length > 0 %}
|
||||
<span class=\"count\">
|
||||
<span>{{ events.messages|length }}</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{% set events = collector.events %}
|
||||
|
||||
<h2>Notifications</h2>
|
||||
|
||||
{% if not events.messages|length %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No notifications were sent.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class=\"metrics\">
|
||||
{% for transport in events.transports %}
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ events.messages(transport)|length }}</span>
|
||||
<span class=\"label\">{{ transport }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% for transport in events.transports %}
|
||||
<h3>{{ transport ?: '<em>Empty Transport Name</em>' }}</h3>
|
||||
|
||||
<div class=\"card-block\">
|
||||
<div class=\"sf-tabs sf-tabs-sm\">
|
||||
{% for event in events.events(transport) %}
|
||||
{% set message = event.message %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Message #{{ loop.index }} <small>({{ event.isQueued() ? 'queued' : 'sent' }})</small></h3>
|
||||
<div class=\"tab-content\">
|
||||
<div class=\"card\">
|
||||
<div class=\"card-block\">
|
||||
<span class=\"label\">Subject</span>
|
||||
<h2 class=\"m-t-10\">{{ message.getSubject() ?? '(empty)' }}</h2>
|
||||
</div>
|
||||
{% set notification = message.notification ?? null %}
|
||||
{% if notification %}
|
||||
<div class=\"card-block\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col\">
|
||||
<span class=\"label\">Content</span>
|
||||
<pre class=\"prewrap\">{{ notification.getContent() ?? '(empty)' }}</pre>
|
||||
<span class=\"label\">Importance</span>
|
||||
<pre class=\"prewrap\">{{ notification.getImportance() }}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class=\"card-block\">
|
||||
<div class=\"sf-tabs sf-tabs-sm\">
|
||||
{% if notification %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Notification</h3>
|
||||
<div class=\"tab-content\">
|
||||
<pre class=\"prewrap\" style=\"max-height: 600px\">
|
||||
{{- 'Subject: ' ~ notification.getSubject() }}<br/>
|
||||
{{- 'Content: ' ~ notification.getContent() }}<br/>
|
||||
{{- 'Importance: ' ~ notification.getImportance() }}<br/>
|
||||
{{- 'Emoji: ' ~ (notification.getEmoji() is empty ? '(empty)' : notification.getEmoji()) }}<br/>
|
||||
{{- 'Exception: ' ~ (notification.getException() ?? '(empty)') }}<br/>
|
||||
{{- 'ExceptionAsString: ' ~ (notification.getExceptionAsString() is empty ? '(empty)' : notification.getExceptionAsString()) }}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Message Options</h3>
|
||||
<div class=\"tab-content\">
|
||||
<pre class=\"prewrap\" style=\"max-height: 600px\">
|
||||
{%- if message.getOptions() is null %}
|
||||
{{- '(empty)' }}
|
||||
{%- else %}
|
||||
{{- message.getOptions().toArray()|json_encode(constant('JSON_PRETTY_PRINT')) }}
|
||||
{%- endif %}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Collector/notifier.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/notifier.html.twig");
|
||||
}
|
||||
}
|
||||
310
var/cache/dev/twig/d2/d20112a0542b7b89386b8f2c6fdbde28.php
vendored
Normal file
310
var/cache/dev/twig/d2/d20112a0542b7b89386b8f2c6fdbde28.php
vendored
Normal file
@@ -0,0 +1,310 @@
|
||||
<?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/open.html.twig */
|
||||
class __TwigTemplate_4b02e3f1ed2211346d99e9a6179858b5 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 = [
|
||||
'head' => [$this, 'block_head'],
|
||||
'body' => [$this, 'block_body'],
|
||||
];
|
||||
}
|
||||
|
||||
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/open.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/open.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_head(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", "head"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
|
||||
|
||||
// line 4
|
||||
yield " <style>
|
||||
";
|
||||
// line 5
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/profiler.css.twig");
|
||||
yield "
|
||||
";
|
||||
// line 6
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/open.css.twig");
|
||||
yield "
|
||||
</style>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 10
|
||||
/**
|
||||
* @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 11
|
||||
yield " <div class=\"container\">
|
||||
";
|
||||
// line 12
|
||||
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/header.html.twig", [], false);
|
||||
yield "
|
||||
|
||||
";
|
||||
// line 14
|
||||
$context["source"] = $this->extensions['Symfony\Bundle\WebProfilerBundle\Profiler\CodeExtension']->fileExcerpt(CoreExtension::getAttribute($this->env, $this->source, (isset($context["file_info"]) || array_key_exists("file_info", $context) ? $context["file_info"] : (function () { throw new RuntimeError('Variable "file_info" does not exist.', 14, $this->source); })()), "pathname", [], "any", false, false, false, 14), (isset($context["line"]) || array_key_exists("line", $context) ? $context["line"] : (function () { throw new RuntimeError('Variable "line" does not exist.', 14, $this->source); })()), -1);
|
||||
// line 15
|
||||
yield " <div id=\"content\">
|
||||
<div id=\"main\">
|
||||
<div id=\"source\">
|
||||
<h1 class=\"source-file-name\">";
|
||||
// line 18
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["file"]) || array_key_exists("file", $context) ? $context["file"] : (function () { throw new RuntimeError('Variable "file" does not exist.', 18, $this->source); })()), "html", null, true);
|
||||
if ((0 < (isset($context["line"]) || array_key_exists("line", $context) ? $context["line"] : (function () { throw new RuntimeError('Variable "line" does not exist.', 18, $this->source); })()))) {
|
||||
yield " <small>line ";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["line"]) || array_key_exists("line", $context) ? $context["line"] : (function () { throw new RuntimeError('Variable "line" does not exist.', 18, $this->source); })()), "html", null, true);
|
||||
yield "</small>";
|
||||
}
|
||||
yield "</h1>
|
||||
|
||||
<div class=\"source-content\">
|
||||
";
|
||||
// line 21
|
||||
if ((null === (isset($context["source"]) || array_key_exists("source", $context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.', 21, $this->source); })()))) {
|
||||
// line 22
|
||||
yield " <p class=\"empty empty-panel\">The file is not readable.</p>
|
||||
";
|
||||
} else {
|
||||
// line 24
|
||||
yield " ";
|
||||
yield (isset($context["source"]) || array_key_exists("source", $context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.', 24, $this->source); })());
|
||||
yield "
|
||||
";
|
||||
}
|
||||
// line 26
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
<div id=\"sidebar\">
|
||||
<dl class=\"file-metadata\">
|
||||
<dt>Filepath:</dt>
|
||||
<dd>";
|
||||
// line 32
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["file_info"]) || array_key_exists("file_info", $context) ? $context["file_info"] : (function () { throw new RuntimeError('Variable "file_info" does not exist.', 32, $this->source); })()), "pathname", [], "any", false, false, false, 32), "html", null, true);
|
||||
yield "</dd>
|
||||
|
||||
<dt>Last modified:</dt>
|
||||
<dd>";
|
||||
// line 35
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["file_info"]) || array_key_exists("file_info", $context) ? $context["file_info"] : (function () { throw new RuntimeError('Variable "file_info" does not exist.', 35, $this->source); })()), "mTime", [], "any", false, false, false, 35)), "html", null, true);
|
||||
yield "</dd>
|
||||
|
||||
<dt>Size:</dt>
|
||||
";
|
||||
// line 38
|
||||
$context["file_size_in_kb"] = (CoreExtension::getAttribute($this->env, $this->source, (isset($context["file_info"]) || array_key_exists("file_info", $context) ? $context["file_info"] : (function () { throw new RuntimeError('Variable "file_info" does not exist.', 38, $this->source); })()), "size", [], "any", false, false, false, 38) / 1024);
|
||||
// line 39
|
||||
yield " ";
|
||||
$context["file_num_lines"] = (Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::split($this->env->getCharset(), (isset($context["source"]) || array_key_exists("source", $context) ? $context["source"] : (function () { throw new RuntimeError('Variable "source" does not exist.', 39, $this->source); })()), "
|
||||
")) - 1);
|
||||
// line 40
|
||||
yield " <dd>
|
||||
";
|
||||
// line 41
|
||||
yield ((((isset($context["file_size_in_kb"]) || array_key_exists("file_size_in_kb", $context) ? $context["file_size_in_kb"] : (function () { throw new RuntimeError('Variable "file_size_in_kb" does not exist.', 41, $this->source); })()) < 1)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, (isset($context["file_info"]) || array_key_exists("file_info", $context) ? $context["file_info"] : (function () { throw new RuntimeError('Variable "file_info" does not exist.', 41, $this->source); })()), "size", [], "any", false, false, false, 41) . " bytes"), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["file_size_in_kb"]) || array_key_exists("file_size_in_kb", $context) ? $context["file_size_in_kb"] : (function () { throw new RuntimeError('Variable "file_size_in_kb" does not exist.', 41, $this->source); })()), 0) . " KB"), "html", null, true)));
|
||||
yield "
|
||||
/ ";
|
||||
// line 42
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["file_num_lines"]) || array_key_exists("file_num_lines", $context) ? $context["file_num_lines"] : (function () { throw new RuntimeError('Variable "file_num_lines" does not exist.', 42, $this->source); })()), "html", null, true);
|
||||
yield " lines
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<a class=\"doc-link\" href=\"https://symfony.com/doc/";
|
||||
// line 46
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("Symfony\\Component\\HttpKernel\\Kernel::VERSION"), "html", null, true);
|
||||
yield "/reference/configuration/framework.html#ide\" rel=\"help\">Open this file in your IDE?</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', function () {
|
||||
const selectedLineElement = document.querySelector('.source-content li.selected');
|
||||
if (null === selectedLineElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
const selectedLineYCoordinate = selectedLineElement.getBoundingClientRect().y;
|
||||
console.log(selectedLineYCoordinate);
|
||||
window.scrollTo({ top: selectedLineYCoordinate - 20, left: 0, behavior: 'smooth' });
|
||||
});
|
||||
</script>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/open.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 189 => 46, 182 => 42, 178 => 41, 175 => 40, 171 => 39, 169 => 38, 163 => 35, 157 => 32, 149 => 26, 143 => 24, 139 => 22, 137 => 21, 126 => 18, 121 => 15, 119 => 14, 114 => 12, 111 => 11, 98 => 10, 84 => 6, 80 => 5, 77 => 4, 64 => 3, 41 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/base.html.twig' %}
|
||||
|
||||
{% block head %}
|
||||
<style>
|
||||
{{ include('@WebProfiler/Profiler/profiler.css.twig') }}
|
||||
{{ include('@WebProfiler/Profiler/open.css.twig') }}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class=\"container\">
|
||||
{{ include('@WebProfiler/Profiler/header.html.twig', with_context = false) }}
|
||||
|
||||
{% set source = file_info.pathname|file_excerpt(line, -1) %}
|
||||
<div id=\"content\">
|
||||
<div id=\"main\">
|
||||
<div id=\"source\">
|
||||
<h1 class=\"source-file-name\">{{ file }}{% if 0 < line %} <small>line {{ line }}</small>{% endif %}</h1>
|
||||
|
||||
<div class=\"source-content\">
|
||||
{% if source is null %}
|
||||
<p class=\"empty empty-panel\">The file is not readable.</p>
|
||||
{% else %}
|
||||
{{ source|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id=\"sidebar\">
|
||||
<dl class=\"file-metadata\">
|
||||
<dt>Filepath:</dt>
|
||||
<dd>{{ file_info.pathname }}</dd>
|
||||
|
||||
<dt>Last modified:</dt>
|
||||
<dd>{{ file_info.mTime|date }}</dd>
|
||||
|
||||
<dt>Size:</dt>
|
||||
{% set file_size_in_kb = file_info.size / 1024 %}
|
||||
{% set file_num_lines = source|split(\"\\n\")|length - 1 %}
|
||||
<dd>
|
||||
{{ file_size_in_kb < 1 ? file_info.size ~ ' bytes' : file_size_in_kb|number_format(0) ~ ' KB' }}
|
||||
/ {{ file_num_lines }} lines
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<a class=\"doc-link\" href=\"https://symfony.com/doc/{{ constant('Symfony\\\\Component\\\\HttpKernel\\\\Kernel::VERSION') }}/reference/configuration/framework.html#ide\" rel=\"help\">Open this file in your IDE?</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', function () {
|
||||
const selectedLineElement = document.querySelector('.source-content li.selected');
|
||||
if (null === selectedLineElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
const selectedLineYCoordinate = selectedLineElement.getBoundingClientRect().y;
|
||||
console.log(selectedLineYCoordinate);
|
||||
window.scrollTo({ top: selectedLineYCoordinate - 20, left: 0, behavior: 'smooth' });
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
", "@WebProfiler/Profiler/open.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/open.html.twig");
|
||||
}
|
||||
}
|
||||
1061
var/cache/dev/twig/d2/d289c37e672ea9396a11bf19d36e299e.php
vendored
Normal file
1061
var/cache/dev/twig/d2/d289c37e672ea9396a11bf19d36e299e.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
370
var/cache/dev/twig/d7/d7a5f909397d98775548d1b95110a313.php
vendored
Normal file
370
var/cache/dev/twig/d7/d7a5f909397d98775548d1b95110a313.php
vendored
Normal file
@@ -0,0 +1,370 @@
|
||||
<?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/search.html.twig */
|
||||
class __TwigTemplate_098e87520e30152d25f485f6bafb00a0 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/search.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/search.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div id=\"sidebar-search\">
|
||||
<form action=\"";
|
||||
// line 2
|
||||
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search");
|
||||
yield "\" method=\"get\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"ip\">
|
||||
";
|
||||
// line 5
|
||||
if (("command" == (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); })()))) {
|
||||
// line 6
|
||||
yield " Application
|
||||
";
|
||||
} else {
|
||||
// line 8
|
||||
yield " IP
|
||||
";
|
||||
}
|
||||
// line 10
|
||||
yield " </label>
|
||||
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"";
|
||||
// line 11
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ip"]) || array_key_exists("ip", $context) ? $context["ip"] : (function () { throw new RuntimeError('Variable "ip" does not exist.', 11, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group-row\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"method\">
|
||||
";
|
||||
// line 17
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 17, $this->source); })()))) {
|
||||
// line 18
|
||||
yield " Mode
|
||||
";
|
||||
} else {
|
||||
// line 20
|
||||
yield " Method
|
||||
";
|
||||
}
|
||||
// line 22
|
||||
yield " </label>
|
||||
<select name=\"method\" id=\"method\">
|
||||
<option value=\"\">Any</option>
|
||||
";
|
||||
// line 25
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 25, $this->source); })()))) {
|
||||
// line 26
|
||||
yield " ";
|
||||
$context["methods"] = ["BATCH", "INTERACTIVE"];
|
||||
// line 27
|
||||
yield " ";
|
||||
} else {
|
||||
// line 28
|
||||
yield " ";
|
||||
$context["methods"] = ["DELETE", "GET", "HEAD", "PATCH", "POST", "PUT"];
|
||||
// line 29
|
||||
yield " ";
|
||||
}
|
||||
// line 30
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["methods"]) || array_key_exists("methods", $context) ? $context["methods"] : (function () { throw new RuntimeError('Variable "methods" does not exist.', 30, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
|
||||
// line 31
|
||||
yield " <option ";
|
||||
yield ((($context["m"] == (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 31, $this->source); })()))) ? ("selected=\"selected\"") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["m"], "html", null, true);
|
||||
yield "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['m'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 33
|
||||
yield " </select>
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"status_code\">
|
||||
";
|
||||
// line 38
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 38, $this->source); })()))) {
|
||||
// line 39
|
||||
yield " Exit code
|
||||
";
|
||||
// line 40
|
||||
$context["min_and_max"] = Twig\Extension\CoreExtension::sprintf("min=%d max=%d", 0, 255);
|
||||
// line 41
|
||||
yield " ";
|
||||
} else {
|
||||
// line 42
|
||||
yield " Status
|
||||
";
|
||||
// line 43
|
||||
$context["min_and_max"] = Twig\Extension\CoreExtension::sprintf("min=%d max=%d", 100, 599);
|
||||
// line 44
|
||||
yield " ";
|
||||
}
|
||||
// line 45
|
||||
yield " </label>
|
||||
<input type=\"number\" name=\"status_code\" id=\"status_code\" ";
|
||||
// line 46
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["min_and_max"]) || array_key_exists("min_and_max", $context) ? $context["min_and_max"] : (function () { throw new RuntimeError('Variable "min_and_max" does not exist.', 46, $this->source); })()), "html", null, true);
|
||||
yield " value=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 46, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"url\">
|
||||
";
|
||||
// line 52
|
||||
if (("command" == (isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 52, $this->source); })()))) {
|
||||
// line 53
|
||||
yield " Command
|
||||
";
|
||||
} else {
|
||||
// line 55
|
||||
yield " URL
|
||||
";
|
||||
}
|
||||
// line 57
|
||||
yield " </label>
|
||||
<input type=\"text\" name=\"url\" id=\"url\" value=\"";
|
||||
// line 58
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 58, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"token\">Token</label>
|
||||
<input type=\"text\" name=\"token\" id=\"token\" size=\"8\" value=\"";
|
||||
// line 63
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 63, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"start\">From</label>
|
||||
<input type=\"date\" name=\"start\" id=\"start\" value=\"";
|
||||
// line 68
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 68, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"end\">Until</label>
|
||||
<input type=\"date\" name=\"end\" id=\"end\" value=\"";
|
||||
// line 73
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["end"]) || array_key_exists("end", $context) ? $context["end"] : (function () { throw new RuntimeError('Variable "end" does not exist.', 73, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group-row form-group-row-search-button\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"limit\">Results</label>
|
||||
<select name=\"limit\" id=\"limit\">
|
||||
";
|
||||
// line 80
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable([10, 50, 100]);
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
|
||||
// line 81
|
||||
yield " <option ";
|
||||
yield ((($context["l"] == (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 81, $this->source); })()))) ? ("selected=\"selected\"") : (""));
|
||||
yield ">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["l"], "html", null, true);
|
||||
yield "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['l'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 83
|
||||
yield " </select>
|
||||
</div>
|
||||
|
||||
<input type=\"hidden\" name=\"type\" value=\"";
|
||||
// line 86
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profile_type"]) || array_key_exists("profile_type", $context) ? $context["profile_type"] : (function () { throw new RuntimeError('Variable "profile_type" does not exist.', 86, $this->source); })()), "html", null, true);
|
||||
yield "\">
|
||||
|
||||
<div class=\"form-group\">
|
||||
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/search.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 230 => 86, 225 => 83, 214 => 81, 210 => 80, 200 => 73, 192 => 68, 184 => 63, 176 => 58, 173 => 57, 169 => 55, 165 => 53, 163 => 52, 152 => 46, 149 => 45, 146 => 44, 144 => 43, 141 => 42, 138 => 41, 136 => 40, 133 => 39, 131 => 38, 124 => 33, 113 => 31, 108 => 30, 105 => 29, 102 => 28, 99 => 27, 96 => 26, 94 => 25, 89 => 22, 85 => 20, 81 => 18, 79 => 17, 70 => 11, 67 => 10, 63 => 8, 59 => 6, 57 => 5, 51 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div id=\"sidebar-search\">
|
||||
<form action=\"{{ path('_profiler_search') }}\" method=\"get\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"ip\">
|
||||
{% if 'command' == profile_type %}
|
||||
Application
|
||||
{% else %}
|
||||
IP
|
||||
{% endif %}
|
||||
</label>
|
||||
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"{{ ip }}\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group-row\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"method\">
|
||||
{% if 'command' == profile_type %}
|
||||
Mode
|
||||
{% else %}
|
||||
Method
|
||||
{% endif %}
|
||||
</label>
|
||||
<select name=\"method\" id=\"method\">
|
||||
<option value=\"\">Any</option>
|
||||
{% if 'command' == profile_type %}
|
||||
{% set methods = ['BATCH', 'INTERACTIVE'] %}
|
||||
{% else %}
|
||||
{% set methods = ['DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'] %}
|
||||
{% endif %}
|
||||
{% for m in methods %}
|
||||
<option {{ m == method ? 'selected=\"selected\"' }}>{{ m }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"status_code\">
|
||||
{% if 'command' == profile_type %}
|
||||
Exit code
|
||||
{% set min_and_max = 'min=%d max=%d'|format(0, 255) %}
|
||||
{% else %}
|
||||
Status
|
||||
{% set min_and_max = 'min=%d max=%d'|format(100, 599) %}
|
||||
{% endif %}
|
||||
</label>
|
||||
<input type=\"number\" name=\"status_code\" id=\"status_code\" {{ min_and_max }} value=\"{{ status_code }}\">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"url\">
|
||||
{% if 'command' == profile_type %}
|
||||
Command
|
||||
{% else %}
|
||||
URL
|
||||
{% endif %}
|
||||
</label>
|
||||
<input type=\"text\" name=\"url\" id=\"url\" value=\"{{ url }}\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"token\">Token</label>
|
||||
<input type=\"text\" name=\"token\" id=\"token\" size=\"8\" value=\"{{ token }}\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"start\">From</label>
|
||||
<input type=\"date\" name=\"start\" id=\"start\" value=\"{{ start }}\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<label for=\"end\">Until</label>
|
||||
<input type=\"date\" name=\"end\" id=\"end\" value=\"{{ end }}\">
|
||||
</div>
|
||||
|
||||
<div class=\"form-group-row form-group-row-search-button\">
|
||||
<div class=\"form-group\">
|
||||
<label for=\"limit\">Results</label>
|
||||
<select name=\"limit\" id=\"limit\">
|
||||
{% for l in [10, 50, 100] %}
|
||||
<option {{ l == limit ? 'selected=\"selected\"' }}>{{ l }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<input type=\"hidden\" name=\"type\" value=\"{{ profile_type }}\">
|
||||
|
||||
<div class=\"form-group\">
|
||||
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/search.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/search.html.twig");
|
||||
}
|
||||
}
|
||||
649
var/cache/dev/twig/e1/e101fc7c4998985adae8933fad85daee.php
vendored
Normal file
649
var/cache/dev/twig/e1/e101fc7c4998985adae8933fad85daee.php
vendored
Normal file
@@ -0,0 +1,649 @@
|
||||
<?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/base_js.html.twig */
|
||||
class __TwigTemplate_37a5b40d160ecc38217d2ac36ddbbea6 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/base_js.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/base_js.html.twig"));
|
||||
|
||||
// line 3
|
||||
yield "
|
||||
";
|
||||
// line 7
|
||||
yield "<script";
|
||||
if ((array_key_exists("csp_script_nonce", $context) && (isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce", $context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.', 7, $this->source); })()))) {
|
||||
yield " nonce=\"";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce", $context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.', 7, $this->source); })()), "html", null, true);
|
||||
yield "\"";
|
||||
}
|
||||
yield ">
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
new SymfonyProfiler();
|
||||
});
|
||||
|
||||
class SymfonyProfiler {
|
||||
constructor() {
|
||||
this.#createTabs();
|
||||
this.#createTableSearchFields();
|
||||
this.#createToggles();
|
||||
this.#createCopyToClipboard();
|
||||
this.#convertDateTimesToUserTimezone();
|
||||
}
|
||||
|
||||
#createTabs() {
|
||||
/* the accessibility options of this component have been defined according to: */
|
||||
/* www.w3.org/WAI/ARIA/apg/example-index/tabs/tabs-manual.html */
|
||||
const tabGroups = document.querySelectorAll('.sf-tabs:not([data-processed=true])');
|
||||
|
||||
/* create the tab navigation for each group of tabs */
|
||||
tabGroups.forEach((tabGroup, i) => {
|
||||
const tabs = tabGroup.querySelectorAll(':scope > .tab');
|
||||
const tabNavigation = document.createElement('div');
|
||||
tabNavigation.classList.add('tab-navigation');
|
||||
tabNavigation.setAttribute('role', 'tablist');
|
||||
|
||||
let selectedTabId = `tab-\${i}-0`; /* select the first tab by default */
|
||||
tabs.forEach((tab, j) => {
|
||||
const tabId = `tab-\${i}-\${j}`;
|
||||
const tabTitle = tab.querySelector('.tab-title').innerHTML;
|
||||
|
||||
const tabNavigationItem = document.createElement('button');
|
||||
tabNavigationItem.classList.add('tab-control');
|
||||
tabNavigationItem.setAttribute('data-tab-id', tabId);
|
||||
tabNavigationItem.setAttribute('role', 'tab');
|
||||
tabNavigationItem.setAttribute('aria-controls', tabId);
|
||||
if (tab.classList.contains('active')) { selectedTabId = tabId; }
|
||||
if (tab.classList.contains('disabled')) {
|
||||
tabNavigationItem.classList.add('disabled');
|
||||
}
|
||||
tabNavigationItem.innerHTML = tabTitle;
|
||||
tabNavigation.appendChild(tabNavigationItem);
|
||||
|
||||
const tabContent = tab.querySelector('.tab-content');
|
||||
tabContent.parentElement.setAttribute('id', tabId);
|
||||
});
|
||||
|
||||
tabGroup.insertBefore(tabNavigation, tabGroup.firstChild);
|
||||
document.querySelector('[data-tab-id=\"' + selectedTabId + '\"]').classList.add('active');
|
||||
});
|
||||
|
||||
/* display the active tab and add the 'click' event listeners */
|
||||
tabGroups.forEach((tabGroup) => {
|
||||
const tabs = tabGroup.querySelectorAll(':scope > .tab-navigation .tab-control');
|
||||
tabs.forEach((tab) => {
|
||||
const tabId = tab.getAttribute('data-tab-id');
|
||||
const tabPanel = document.getElementById(tabId);
|
||||
tabPanel.setAttribute('role', 'tabpanel');
|
||||
tabPanel.setAttribute('aria-labelledby', tabId);
|
||||
tabPanel.querySelector('.tab-title').className = 'hidden';
|
||||
|
||||
if (tab.classList.contains('active')) {
|
||||
tabPanel.className = 'block';
|
||||
tab.setAttribute('aria-selected', 'true');
|
||||
tab.removeAttribute('tabindex');
|
||||
} else {
|
||||
tabPanel.className = 'hidden';
|
||||
tab.removeAttribute('aria-selected');
|
||||
tab.setAttribute('tabindex', '-1');
|
||||
}
|
||||
|
||||
tab.addEventListener('click', function(e) {
|
||||
let activeTab = e.target || e.srcElement;
|
||||
|
||||
/* needed because when the tab contains HTML contents, user can click */
|
||||
/* on any of those elements instead of their parent '<button>' element */
|
||||
while ('button' !== activeTab.tagName.toLowerCase()) {
|
||||
activeTab = activeTab.parentNode;
|
||||
}
|
||||
|
||||
/* get the full list of tabs through the parent of the active tab element */
|
||||
const tabs = Array.from(activeTab.parentNode.children);
|
||||
tabs.forEach((tab) => {
|
||||
const tabId = tab.getAttribute('data-tab-id');
|
||||
document.getElementById(tabId).className = 'hidden';
|
||||
tab.classList.remove('active');
|
||||
tab.removeAttribute('aria-selected');
|
||||
tab.setAttribute('tabindex', '-1');
|
||||
});
|
||||
|
||||
activeTab.classList.add('active');
|
||||
activeTab.setAttribute('aria-selected', 'true');
|
||||
activeTab.removeAttribute('tabindex');
|
||||
const activeTabId = activeTab.getAttribute('data-tab-id');
|
||||
document.getElementById(activeTabId).className = 'block';
|
||||
});
|
||||
});
|
||||
|
||||
tabGroup.setAttribute('data-processed', 'true');
|
||||
});
|
||||
}
|
||||
|
||||
#createTableSearchFields() {
|
||||
document.querySelectorAll('div.table-with-search-field').forEach((tableWrapper, i) => {
|
||||
const searchField = document.createElement('input');
|
||||
searchField.type = 'search';
|
||||
searchField.placeholder = 'search...';
|
||||
searchField.id = `table-search-field-\${i}`;
|
||||
searchField.classList.add(`table-search-field-input`);
|
||||
searchField.autocapitalize = 'off';
|
||||
searchField.autocomplete = 'off';
|
||||
searchField.autocorrect = 'off';
|
||||
tableWrapper.insertBefore(searchField, tableWrapper.firstChild);
|
||||
|
||||
const labelField = document.createElement('label');
|
||||
labelField.htmlFor = `table-search-field-\${i}`;
|
||||
labelField.classList.add(`table-search-field-label`);
|
||||
labelField.textContent = 'Search inside the contents of the table';
|
||||
tableWrapper.insertBefore(labelField, tableWrapper.firstChild);
|
||||
|
||||
searchField.addEventListener('input', () => {
|
||||
const query = searchField.value.toLowerCase();
|
||||
let allRowsAreHidden = true;
|
||||
tableWrapper.querySelectorAll('tbody tr').forEach((row) => {
|
||||
const rowMatchesQuery = row.textContent.toLowerCase().includes(query);
|
||||
row.style.display = rowMatchesQuery ? '' : 'none';
|
||||
|
||||
if (rowMatchesQuery) {
|
||||
allRowsAreHidden = false;
|
||||
}
|
||||
});
|
||||
|
||||
/* if there are no results and all rows are hidden, show a message to avoid confusion */
|
||||
const noResultsElement = tableWrapper.querySelector('.no-results-message');
|
||||
if (allRowsAreHidden) {
|
||||
if (null === noResultsElement) {
|
||||
const noResultsElement = document.createElement('p');
|
||||
noResultsElement.textContent = 'No results found.';
|
||||
noResultsElement.classList.add('no-results-message');
|
||||
tableWrapper.appendChild(noResultsElement);
|
||||
} else {
|
||||
noResultsElement.style.display = '';
|
||||
}
|
||||
} else {
|
||||
if (null !== noResultsElement) {
|
||||
noResultsElement.style.display = 'none';
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
#createToggles() {
|
||||
const toggles = document.querySelectorAll('.sf-toggle:not([data-processed=true])');
|
||||
toggles.forEach((toggle) => {
|
||||
const elementSelector = toggle.getAttribute('data-toggle-selector');
|
||||
const element = document.querySelector(elementSelector);
|
||||
|
||||
element.classList.add('sf-toggle-content');
|
||||
|
||||
if (toggle.hasAttribute('data-toggle-initial') && 'display' === toggle.getAttribute('data-toggle-initial')) {
|
||||
toggle.classList.add('sf-toggle-on');
|
||||
element.classList.add('sf-toggle-visible');
|
||||
} else {
|
||||
toggle.classList.add('sf-toggle-off');
|
||||
element.classList.add('sf-toggle-hidden');
|
||||
}
|
||||
|
||||
toggle.addEventListener('click', (e) => {
|
||||
const toggle = e.currentTarget;
|
||||
|
||||
if (e.target.closest('a, .sf-toggle') !== toggle) {
|
||||
return;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
if ('' !== window.getSelection().toString()) {
|
||||
/* Don't do anything on text selection */
|
||||
return;
|
||||
}
|
||||
|
||||
const element = document.querySelector(toggle.getAttribute('data-toggle-selector'));
|
||||
|
||||
toggle.classList.toggle('sf-toggle-on');
|
||||
toggle.classList.toggle('sf-toggle-off');
|
||||
element.classList.toggle('sf-toggle-hidden');
|
||||
element.classList.toggle('sf-toggle-visible');
|
||||
|
||||
/* the toggle doesn't change its contents when clicking on it */
|
||||
if (!toggle.hasAttribute('data-toggle-alt-content')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!toggle.hasAttribute('data-toggle-original-content')) {
|
||||
toggle.setAttribute('data-toggle-original-content', toggle.innerHTML);
|
||||
}
|
||||
|
||||
const currentContent = toggle.innerHTML;
|
||||
const originalContent = toggle.getAttribute('data-toggle-original-content');
|
||||
const altContent = toggle.getAttribute('data-toggle-alt-content');
|
||||
toggle.innerHTML = currentContent !== altContent ? altContent : originalContent;
|
||||
});
|
||||
|
||||
toggle.setAttribute('data-processed', 'true');
|
||||
});
|
||||
}
|
||||
|
||||
#createCopyToClipboard() {
|
||||
if (!navigator.clipboard) {
|
||||
return;
|
||||
}
|
||||
|
||||
const copyToClipboardElements = document.querySelectorAll('[data-clipboard-text]');
|
||||
|
||||
copyToClipboardElements.forEach((copyToClipboardElement) => {
|
||||
copyToClipboardElement.classList.remove('hidden');
|
||||
|
||||
copyToClipboardElement.addEventListener('click', (e) => {
|
||||
/* Prevents from disallowing clicks on \"copy to clipboard\" elements inside toggles */
|
||||
e.stopPropagation();
|
||||
|
||||
navigator.clipboard.writeText(copyToClipboardElement.getAttribute('data-clipboard-text'));
|
||||
|
||||
let oldContent = copyToClipboardElement.textContent;
|
||||
|
||||
copyToClipboardElement.textContent = `✅ Copied!`;
|
||||
copyToClipboardElement.disabled = true;
|
||||
|
||||
setTimeout(() => {
|
||||
copyToClipboardElement.textContent = oldContent;
|
||||
copyToClipboardElement.disabled = false;
|
||||
}, 7000);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
#convertDateTimesToUserTimezone() {
|
||||
const userTimezoneName = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
|
||||
document.querySelectorAll('time[data-convert-to-user-timezone]').forEach((timeElement) => {
|
||||
const iso8601Datetime = timeElement.getAttribute('datetime');
|
||||
const dateInUserTimezone = new Date(iso8601Datetime);
|
||||
|
||||
let options = {};
|
||||
if (timeElement.hasAttribute('data-render-as-datetime')) {
|
||||
options = {
|
||||
year: 'numeric', month: 'long', day: 'numeric',
|
||||
hour: 'numeric', minute: 'numeric', second: 'numeric'
|
||||
};
|
||||
} else if (timeElement.hasAttribute('data-render-as-date')) {
|
||||
options = { year: 'numeric', month: 'long', day: 'numeric' };
|
||||
} else if (timeElement.hasAttribute('data-render-as-time')) {
|
||||
options = { hour: 'numeric', minute: 'numeric', second: 'numeric' };
|
||||
}
|
||||
|
||||
if (timeElement.hasAttribute('data-render-with-millisecond-precision')) {
|
||||
options.fractionalSecondDigits = 3;
|
||||
}
|
||||
|
||||
/* dates/times are always rendered in English to match the rest of the Profiler interface */
|
||||
timeElement.textContent = dateInUserTimezone.toLocaleString('en', options);
|
||||
|
||||
if (undefined !== userTimezoneName) {
|
||||
const existingTitle = timeElement.getAttribute('title');
|
||||
const newTitle = null === existingTitle
|
||||
? `Date/times shown in your timezone: \${userTimezoneName}`
|
||||
: existingTitle + ` (date/times shown in your timezone: \${userTimezoneName})`;
|
||||
timeElement.setAttribute('title', newTitle);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/base_js.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 51 => 7, 48 => 3,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{# This file is partially duplicated in src/Symfony/Component/ErrorHandler/Resources/assets/js/exception.js.
|
||||
If you make any change in this file, verify the same change is needed in the other file. #}
|
||||
|
||||
{# CAUTION: the contents of this file are processed by Twig before loading
|
||||
them as JavaScript source code. Always use '/*' comments instead
|
||||
of '//' comments to avoid impossible-to-debug side-effects #}
|
||||
<script{% if csp_script_nonce is defined and csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
new SymfonyProfiler();
|
||||
});
|
||||
|
||||
class SymfonyProfiler {
|
||||
constructor() {
|
||||
this.#createTabs();
|
||||
this.#createTableSearchFields();
|
||||
this.#createToggles();
|
||||
this.#createCopyToClipboard();
|
||||
this.#convertDateTimesToUserTimezone();
|
||||
}
|
||||
|
||||
#createTabs() {
|
||||
/* the accessibility options of this component have been defined according to: */
|
||||
/* www.w3.org/WAI/ARIA/apg/example-index/tabs/tabs-manual.html */
|
||||
const tabGroups = document.querySelectorAll('.sf-tabs:not([data-processed=true])');
|
||||
|
||||
/* create the tab navigation for each group of tabs */
|
||||
tabGroups.forEach((tabGroup, i) => {
|
||||
const tabs = tabGroup.querySelectorAll(':scope > .tab');
|
||||
const tabNavigation = document.createElement('div');
|
||||
tabNavigation.classList.add('tab-navigation');
|
||||
tabNavigation.setAttribute('role', 'tablist');
|
||||
|
||||
let selectedTabId = `tab-\${i}-0`; /* select the first tab by default */
|
||||
tabs.forEach((tab, j) => {
|
||||
const tabId = `tab-\${i}-\${j}`;
|
||||
const tabTitle = tab.querySelector('.tab-title').innerHTML;
|
||||
|
||||
const tabNavigationItem = document.createElement('button');
|
||||
tabNavigationItem.classList.add('tab-control');
|
||||
tabNavigationItem.setAttribute('data-tab-id', tabId);
|
||||
tabNavigationItem.setAttribute('role', 'tab');
|
||||
tabNavigationItem.setAttribute('aria-controls', tabId);
|
||||
if (tab.classList.contains('active')) { selectedTabId = tabId; }
|
||||
if (tab.classList.contains('disabled')) {
|
||||
tabNavigationItem.classList.add('disabled');
|
||||
}
|
||||
tabNavigationItem.innerHTML = tabTitle;
|
||||
tabNavigation.appendChild(tabNavigationItem);
|
||||
|
||||
const tabContent = tab.querySelector('.tab-content');
|
||||
tabContent.parentElement.setAttribute('id', tabId);
|
||||
});
|
||||
|
||||
tabGroup.insertBefore(tabNavigation, tabGroup.firstChild);
|
||||
document.querySelector('[data-tab-id=\"' + selectedTabId + '\"]').classList.add('active');
|
||||
});
|
||||
|
||||
/* display the active tab and add the 'click' event listeners */
|
||||
tabGroups.forEach((tabGroup) => {
|
||||
const tabs = tabGroup.querySelectorAll(':scope > .tab-navigation .tab-control');
|
||||
tabs.forEach((tab) => {
|
||||
const tabId = tab.getAttribute('data-tab-id');
|
||||
const tabPanel = document.getElementById(tabId);
|
||||
tabPanel.setAttribute('role', 'tabpanel');
|
||||
tabPanel.setAttribute('aria-labelledby', tabId);
|
||||
tabPanel.querySelector('.tab-title').className = 'hidden';
|
||||
|
||||
if (tab.classList.contains('active')) {
|
||||
tabPanel.className = 'block';
|
||||
tab.setAttribute('aria-selected', 'true');
|
||||
tab.removeAttribute('tabindex');
|
||||
} else {
|
||||
tabPanel.className = 'hidden';
|
||||
tab.removeAttribute('aria-selected');
|
||||
tab.setAttribute('tabindex', '-1');
|
||||
}
|
||||
|
||||
tab.addEventListener('click', function(e) {
|
||||
let activeTab = e.target || e.srcElement;
|
||||
|
||||
/* needed because when the tab contains HTML contents, user can click */
|
||||
/* on any of those elements instead of their parent '<button>' element */
|
||||
while ('button' !== activeTab.tagName.toLowerCase()) {
|
||||
activeTab = activeTab.parentNode;
|
||||
}
|
||||
|
||||
/* get the full list of tabs through the parent of the active tab element */
|
||||
const tabs = Array.from(activeTab.parentNode.children);
|
||||
tabs.forEach((tab) => {
|
||||
const tabId = tab.getAttribute('data-tab-id');
|
||||
document.getElementById(tabId).className = 'hidden';
|
||||
tab.classList.remove('active');
|
||||
tab.removeAttribute('aria-selected');
|
||||
tab.setAttribute('tabindex', '-1');
|
||||
});
|
||||
|
||||
activeTab.classList.add('active');
|
||||
activeTab.setAttribute('aria-selected', 'true');
|
||||
activeTab.removeAttribute('tabindex');
|
||||
const activeTabId = activeTab.getAttribute('data-tab-id');
|
||||
document.getElementById(activeTabId).className = 'block';
|
||||
});
|
||||
});
|
||||
|
||||
tabGroup.setAttribute('data-processed', 'true');
|
||||
});
|
||||
}
|
||||
|
||||
#createTableSearchFields() {
|
||||
document.querySelectorAll('div.table-with-search-field').forEach((tableWrapper, i) => {
|
||||
const searchField = document.createElement('input');
|
||||
searchField.type = 'search';
|
||||
searchField.placeholder = 'search...';
|
||||
searchField.id = `table-search-field-\${i}`;
|
||||
searchField.classList.add(`table-search-field-input`);
|
||||
searchField.autocapitalize = 'off';
|
||||
searchField.autocomplete = 'off';
|
||||
searchField.autocorrect = 'off';
|
||||
tableWrapper.insertBefore(searchField, tableWrapper.firstChild);
|
||||
|
||||
const labelField = document.createElement('label');
|
||||
labelField.htmlFor = `table-search-field-\${i}`;
|
||||
labelField.classList.add(`table-search-field-label`);
|
||||
labelField.textContent = 'Search inside the contents of the table';
|
||||
tableWrapper.insertBefore(labelField, tableWrapper.firstChild);
|
||||
|
||||
searchField.addEventListener('input', () => {
|
||||
const query = searchField.value.toLowerCase();
|
||||
let allRowsAreHidden = true;
|
||||
tableWrapper.querySelectorAll('tbody tr').forEach((row) => {
|
||||
const rowMatchesQuery = row.textContent.toLowerCase().includes(query);
|
||||
row.style.display = rowMatchesQuery ? '' : 'none';
|
||||
|
||||
if (rowMatchesQuery) {
|
||||
allRowsAreHidden = false;
|
||||
}
|
||||
});
|
||||
|
||||
/* if there are no results and all rows are hidden, show a message to avoid confusion */
|
||||
const noResultsElement = tableWrapper.querySelector('.no-results-message');
|
||||
if (allRowsAreHidden) {
|
||||
if (null === noResultsElement) {
|
||||
const noResultsElement = document.createElement('p');
|
||||
noResultsElement.textContent = 'No results found.';
|
||||
noResultsElement.classList.add('no-results-message');
|
||||
tableWrapper.appendChild(noResultsElement);
|
||||
} else {
|
||||
noResultsElement.style.display = '';
|
||||
}
|
||||
} else {
|
||||
if (null !== noResultsElement) {
|
||||
noResultsElement.style.display = 'none';
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
#createToggles() {
|
||||
const toggles = document.querySelectorAll('.sf-toggle:not([data-processed=true])');
|
||||
toggles.forEach((toggle) => {
|
||||
const elementSelector = toggle.getAttribute('data-toggle-selector');
|
||||
const element = document.querySelector(elementSelector);
|
||||
|
||||
element.classList.add('sf-toggle-content');
|
||||
|
||||
if (toggle.hasAttribute('data-toggle-initial') && 'display' === toggle.getAttribute('data-toggle-initial')) {
|
||||
toggle.classList.add('sf-toggle-on');
|
||||
element.classList.add('sf-toggle-visible');
|
||||
} else {
|
||||
toggle.classList.add('sf-toggle-off');
|
||||
element.classList.add('sf-toggle-hidden');
|
||||
}
|
||||
|
||||
toggle.addEventListener('click', (e) => {
|
||||
const toggle = e.currentTarget;
|
||||
|
||||
if (e.target.closest('a, .sf-toggle') !== toggle) {
|
||||
return;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
if ('' !== window.getSelection().toString()) {
|
||||
/* Don't do anything on text selection */
|
||||
return;
|
||||
}
|
||||
|
||||
const element = document.querySelector(toggle.getAttribute('data-toggle-selector'));
|
||||
|
||||
toggle.classList.toggle('sf-toggle-on');
|
||||
toggle.classList.toggle('sf-toggle-off');
|
||||
element.classList.toggle('sf-toggle-hidden');
|
||||
element.classList.toggle('sf-toggle-visible');
|
||||
|
||||
/* the toggle doesn't change its contents when clicking on it */
|
||||
if (!toggle.hasAttribute('data-toggle-alt-content')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!toggle.hasAttribute('data-toggle-original-content')) {
|
||||
toggle.setAttribute('data-toggle-original-content', toggle.innerHTML);
|
||||
}
|
||||
|
||||
const currentContent = toggle.innerHTML;
|
||||
const originalContent = toggle.getAttribute('data-toggle-original-content');
|
||||
const altContent = toggle.getAttribute('data-toggle-alt-content');
|
||||
toggle.innerHTML = currentContent !== altContent ? altContent : originalContent;
|
||||
});
|
||||
|
||||
toggle.setAttribute('data-processed', 'true');
|
||||
});
|
||||
}
|
||||
|
||||
#createCopyToClipboard() {
|
||||
if (!navigator.clipboard) {
|
||||
return;
|
||||
}
|
||||
|
||||
const copyToClipboardElements = document.querySelectorAll('[data-clipboard-text]');
|
||||
|
||||
copyToClipboardElements.forEach((copyToClipboardElement) => {
|
||||
copyToClipboardElement.classList.remove('hidden');
|
||||
|
||||
copyToClipboardElement.addEventListener('click', (e) => {
|
||||
/* Prevents from disallowing clicks on \"copy to clipboard\" elements inside toggles */
|
||||
e.stopPropagation();
|
||||
|
||||
navigator.clipboard.writeText(copyToClipboardElement.getAttribute('data-clipboard-text'));
|
||||
|
||||
let oldContent = copyToClipboardElement.textContent;
|
||||
|
||||
copyToClipboardElement.textContent = `✅ Copied!`;
|
||||
copyToClipboardElement.disabled = true;
|
||||
|
||||
setTimeout(() => {
|
||||
copyToClipboardElement.textContent = oldContent;
|
||||
copyToClipboardElement.disabled = false;
|
||||
}, 7000);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
#convertDateTimesToUserTimezone() {
|
||||
const userTimezoneName = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
|
||||
document.querySelectorAll('time[data-convert-to-user-timezone]').forEach((timeElement) => {
|
||||
const iso8601Datetime = timeElement.getAttribute('datetime');
|
||||
const dateInUserTimezone = new Date(iso8601Datetime);
|
||||
|
||||
let options = {};
|
||||
if (timeElement.hasAttribute('data-render-as-datetime')) {
|
||||
options = {
|
||||
year: 'numeric', month: 'long', day: 'numeric',
|
||||
hour: 'numeric', minute: 'numeric', second: 'numeric'
|
||||
};
|
||||
} else if (timeElement.hasAttribute('data-render-as-date')) {
|
||||
options = { year: 'numeric', month: 'long', day: 'numeric' };
|
||||
} else if (timeElement.hasAttribute('data-render-as-time')) {
|
||||
options = { hour: 'numeric', minute: 'numeric', second: 'numeric' };
|
||||
}
|
||||
|
||||
if (timeElement.hasAttribute('data-render-with-millisecond-precision')) {
|
||||
options.fractionalSecondDigits = 3;
|
||||
}
|
||||
|
||||
/* dates/times are always rendered in English to match the rest of the Profiler interface */
|
||||
timeElement.textContent = dateInUserTimezone.toLocaleString('en', options);
|
||||
|
||||
if (undefined !== userTimezoneName) {
|
||||
const existingTitle = timeElement.getAttribute('title');
|
||||
const newTitle = null === existingTitle
|
||||
? `Date/times shown in your timezone: \${userTimezoneName}`
|
||||
: existingTitle + ` (date/times shown in your timezone: \${userTimezoneName})`;
|
||||
timeElement.setAttribute('title', newTitle);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
", "@WebProfiler/Profiler/base_js.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/base_js.html.twig");
|
||||
}
|
||||
}
|
||||
764
var/cache/dev/twig/e6/e6f176682daa6ed21fb93a5ffd9d25ef.php
vendored
Normal file
764
var/cache/dev/twig/e6/e6f176682daa6ed21fb93a5ffd9d25ef.php
vendored
Normal file
@@ -0,0 +1,764 @@
|
||||
<?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/Collector/cache.html.twig */
|
||||
class __TwigTemplate_b7cf504c79e13bc7c56f1e9241a0af7b 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 = [
|
||||
'toolbar' => [$this, 'block_toolbar'],
|
||||
'menu' => [$this, 'block_menu'],
|
||||
'panel' => [$this, 'block_panel'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
|
||||
{
|
||||
// line 1
|
||||
return "@WebProfiler/Profiler/layout.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/Collector/cache.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/Collector/cache.html.twig"));
|
||||
|
||||
$this->parent = $this->load("@WebProfiler/Profiler/layout.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_toolbar(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", "toolbar"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
yield " ";
|
||||
if ((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.', 4, $this->source); })()), "totals", [], "any", false, false, false, 4), "calls", [], "any", false, false, false, 4) > 0)) {
|
||||
// line 5
|
||||
yield " ";
|
||||
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 6
|
||||
yield " ";
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/cache.svg");
|
||||
yield "
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 7
|
||||
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.', 7, $this->source); })()), "totals", [], "any", false, false, false, 7), "calls", [], "any", false, false, false, 7), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"sf-toolbar-info-piece-additional-detail\">
|
||||
<span class=\"sf-toolbar-label\">in</span>
|
||||
<span class=\"sf-toolbar-value\">";
|
||||
// line 10
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%0.2f", (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.', 10, $this->source); })()), "totals", [], "any", false, false, false, 10), "time", [], "any", false, false, false, 10) * 1000)), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"sf-toolbar-label\">ms</span>
|
||||
</span>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 14
|
||||
yield " ";
|
||||
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
// line 15
|
||||
yield " <div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache Calls</b>
|
||||
<span>";
|
||||
// line 17
|
||||
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.', 17, $this->source); })()), "totals", [], "any", false, false, false, 17), "calls", [], "any", false, false, false, 17), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Total time</b>
|
||||
<span>";
|
||||
// line 21
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%0.2f", (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.', 21, $this->source); })()), "totals", [], "any", false, false, false, 21), "time", [], "any", false, false, false, 21) * 1000)), "html", null, true);
|
||||
yield " ms</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache hits</b>
|
||||
<span>";
|
||||
// line 25
|
||||
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.', 25, $this->source); })()), "totals", [], "any", false, false, false, 25), "hits", [], "any", false, false, false, 25), "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.', 25, $this->source); })()), "totals", [], "any", false, false, false, 25), "reads", [], "any", false, false, false, 25), "html", null, true);
|
||||
if ((($tmp = !(null === 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.', 25, $this->source); })()), "totals", [], "any", false, false, false, 25), "hit_read_ratio", [], "any", false, false, false, 25))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
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.', 25, $this->source); })()), "totals", [], "any", false, false, false, 25), "hit_read_ratio", [], "any", false, false, false, 25), "html", null, true);
|
||||
yield "%)";
|
||||
}
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache writes</b>
|
||||
<span>";
|
||||
// line 29
|
||||
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.', 29, $this->source); })()), "totals", [], "any", false, false, false, 29), "writes", [], "any", false, false, false, 29), "html", null, true);
|
||||
yield "</span>
|
||||
</div>
|
||||
";
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 32
|
||||
yield "
|
||||
";
|
||||
// line 33
|
||||
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.', 33, $this->source); })())]);
|
||||
yield "
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 37
|
||||
/**
|
||||
* @return iterable<null|scalar|\Stringable>
|
||||
*/
|
||||
public function block_menu(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", "menu"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
|
||||
|
||||
// line 38
|
||||
yield " <span class=\"label ";
|
||||
yield (((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.', 38, $this->source); })()), "totals", [], "any", false, false, false, 38), "calls", [], "any", false, false, false, 38) == 0)) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<span class=\"icon\">
|
||||
";
|
||||
// line 40
|
||||
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/cache.svg");
|
||||
yield "
|
||||
</span>
|
||||
<strong>Cache</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 46
|
||||
/**
|
||||
* @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"));
|
||||
|
||||
// line 47
|
||||
yield " <h2>Cache</h2>
|
||||
|
||||
";
|
||||
// line 49
|
||||
if ((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.', 49, $this->source); })()), "totals", [], "any", false, false, false, 49), "calls", [], "any", false, false, false, 49) == 0)) {
|
||||
// line 50
|
||||
yield " <div class=\"empty empty-panel\">
|
||||
<p>No cache calls were made.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 54
|
||||
yield " ";
|
||||
yield $this->getTemplateForMacro("macro_render_metrics", $context, 54, $this->getSourceContext())->macro_render_metrics(...[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.', 54, $this->source); })()), "totals", [], "any", false, false, false, 54), true]);
|
||||
yield "
|
||||
|
||||
<h2>Pools</h2>
|
||||
<div class=\"sf-tabs\">
|
||||
";
|
||||
// line 59
|
||||
yield " ";
|
||||
$context["cache_pools_with_calls"] = Twig\Extension\CoreExtension::merge(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.', 59, $this->source); })()), "calls", [], "any", false, false, false, 59), function ($__calls__) use ($context, $macros) { $context["calls"] = $__calls__; return (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["calls"]) || array_key_exists("calls", $context) ? $context["calls"] : (function () { throw new RuntimeError('Variable "calls" does not exist.', 59, $this->source); })())) > 0); }), []);
|
||||
// line 60
|
||||
yield " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["cache_pools_with_calls"]) || array_key_exists("cache_pools_with_calls", $context) ? $context["cache_pools_with_calls"] : (function () { throw new RuntimeError('Variable "cache_pools_with_calls" does not exist.', 60, $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["calls"]) {
|
||||
// line 61
|
||||
yield " <div class=\"tab ";
|
||||
yield (((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["calls"]) == 0)) ? ("disabled") : (""));
|
||||
yield "\">
|
||||
<h3 class=\"tab-title\">";
|
||||
// line 62
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
||||
yield " <span class=\"badge\">";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 62, $this->source); })()), "statistics", [], "any", false, false, false, 62), $context["name"], [], "array", false, false, false, 62), "calls", [], "any", false, false, false, 62), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h4>Adapter</h4>
|
||||
<div class=\"card\">
|
||||
";
|
||||
// line 67
|
||||
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "adapters", [], "any", false, true, false, 67), $context["name"], [], "array", true, true, false, 67)) {
|
||||
// line 68
|
||||
yield " <code>";
|
||||
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); })()), "adapters", [], "any", false, false, false, 68), $context["name"], [], "array", false, false, false, 68), "html", null, true);
|
||||
yield "</code>
|
||||
";
|
||||
} else {
|
||||
// line 70
|
||||
yield " <span class=\"text-muted\">Unable to get the adapter class.</span>
|
||||
";
|
||||
}
|
||||
// line 72
|
||||
yield " </div>
|
||||
";
|
||||
// line 73
|
||||
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["calls"]) == 0)) {
|
||||
// line 74
|
||||
yield " <div class=\"empty\">
|
||||
<p>No calls were made for ";
|
||||
// line 75
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
||||
yield " pool.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 78
|
||||
yield " <h4>Metrics</h4>
|
||||
";
|
||||
// line 79
|
||||
yield $this->getTemplateForMacro("macro_render_metrics", $context, 79, $this->getSourceContext())->macro_render_metrics(...[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.', 79, $this->source); })()), "statistics", [], "any", false, false, false, 79), $context["name"], [], "array", false, false, false, 79)]);
|
||||
yield "
|
||||
|
||||
<h4>Calls</h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Time</th>
|
||||
<th>Call</th>
|
||||
<th>Hit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 92
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable($context["calls"]);
|
||||
$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["_key"] => $context["call"]) {
|
||||
// line 93
|
||||
yield " <tr>
|
||||
<td class=\"font-normal text-small text-muted nowrap\">";
|
||||
// line 94
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 94), "html", null, true);
|
||||
yield "</td>
|
||||
<td class=\"nowrap\">";
|
||||
// line 95
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%0.2f", ((CoreExtension::getAttribute($this->env, $this->source, $context["call"], "end", [], "any", false, false, false, 95) - CoreExtension::getAttribute($this->env, $this->source, $context["call"], "start", [], "any", false, false, false, 95)) * 1000)), "html", null, true);
|
||||
yield " ms</td>
|
||||
<td class=\"nowrap\">";
|
||||
// line 96
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["call"], "name", [], "any", false, false, false, 96), "html", null, true);
|
||||
yield "(";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["call"], "namespace", [], "any", true, true, false, 96)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["call"], "namespace", [], "any", false, false, false, 96), "")) : ("")), "html", null, true);
|
||||
yield ")</td>
|
||||
<td>";
|
||||
// line 97
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["call"], "value", [], "any", false, false, false, 97), "result", [], "any", false, false, false, 97), 2);
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
++$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['_key'], $context['call'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 100
|
||||
yield " </tbody>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
// line 103
|
||||
yield " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 106
|
||||
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 106)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
||||
// line 107
|
||||
yield " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Pools without calls <span class=\"badge\">";
|
||||
// line 108
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), 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.', 108, $this->source); })()), "calls", [], "any", false, false, false, 108), function ($__calls__) use ($context, $macros) { $context["calls"] = $__calls__; return (0 == Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["calls"])); })), "html", null, true);
|
||||
yield "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Cache pools that received no calls</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 118
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, Twig\Extension\CoreExtension::keys(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.', 118, $this->source); })()), "calls", [], "any", false, false, false, 118), function ($__calls__) use ($context, $macros) { $context["calls"] = $__calls__; return (0 == Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["calls"])); }))));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["cache_pool"]) {
|
||||
// line 119
|
||||
yield " <tr><td>";
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["cache_pool"], "html", null, true);
|
||||
yield "</td></tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['cache_pool'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 121
|
||||
yield " </tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 126
|
||||
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['calls'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 127
|
||||
yield " </div>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
// line 131
|
||||
public function macro_render_metrics($pool = null, $is_total = false, ...$varargs): string|Markup
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = [
|
||||
"pool" => $pool,
|
||||
"is_total" => $is_total,
|
||||
"varargs" => $varargs,
|
||||
] + $this->env->getGlobals();
|
||||
|
||||
$blocks = [];
|
||||
|
||||
return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_metrics"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_metrics"));
|
||||
|
||||
// line 132
|
||||
yield " <div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 134
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 134, $this->source); })()), "calls", [], "any", false, false, false, 134), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 135
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 135, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total calls") : ("Calls"));
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 138
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%0.2f", (CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 138, $this->source); })()), "time", [], "any", false, false, false, 138) * 1000)), "html", null, true);
|
||||
yield " <span class=\"unit\">ms</span></span>
|
||||
<span class=\"label\">";
|
||||
// line 139
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 139, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total time") : ("Time"));
|
||||
yield "</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 146
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 146, $this->source); })()), "reads", [], "any", false, false, false, 146), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 147
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 147, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total reads") : ("Reads"));
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 150
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 150, $this->source); })()), "writes", [], "any", false, false, false, 150), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 151
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 151, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total writes") : ("Writes"));
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 154
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 154, $this->source); })()), "deletes", [], "any", false, false, false, 154), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 155
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 155, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total deletes") : ("Deletes"));
|
||||
yield "</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 163
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 163, $this->source); })()), "hits", [], "any", false, false, false, 163), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 164
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 164, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total hits") : ("Hits"));
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">";
|
||||
// line 167
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 167, $this->source); })()), "misses", [], "any", false, false, false, 167), "html", null, true);
|
||||
yield "</span>
|
||||
<span class=\"label\">";
|
||||
// line 168
|
||||
yield (((($tmp = (isset($context["is_total"]) || array_key_exists("is_total", $context) ? $context["is_total"] : (function () { throw new RuntimeError('Variable "is_total" does not exist.', 168, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Total misses") : ("Misses"));
|
||||
yield "</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">
|
||||
";
|
||||
// line 172
|
||||
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["pool"] ?? null), "hit_read_ratio", [], "any", true, true, false, 172) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 172, $this->source); })()), "hit_read_ratio", [], "any", false, false, false, 172)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pool"]) || array_key_exists("pool", $context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.', 172, $this->source); })()), "hit_read_ratio", [], "any", false, false, false, 172), "html", null, true)) : (0));
|
||||
yield " <span class=\"unit\">%</span>
|
||||
</span>
|
||||
<span class=\"label\">Hits/reads</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
yield from [];
|
||||
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/cache.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 540 => 172, 533 => 168, 529 => 167, 523 => 164, 519 => 163, 508 => 155, 504 => 154, 498 => 151, 494 => 150, 488 => 147, 484 => 146, 474 => 139, 470 => 138, 464 => 135, 460 => 134, 456 => 132, 437 => 131, 424 => 127, 410 => 126, 403 => 121, 394 => 119, 390 => 118, 377 => 108, 374 => 107, 372 => 106, 367 => 103, 362 => 100, 345 => 97, 339 => 96, 335 => 95, 331 => 94, 328 => 93, 311 => 92, 295 => 79, 292 => 78, 286 => 75, 283 => 74, 281 => 73, 278 => 72, 274 => 70, 268 => 68, 266 => 67, 256 => 62, 251 => 61, 233 => 60, 230 => 59, 222 => 54, 216 => 50, 214 => 49, 210 => 47, 197 => 46, 181 => 40, 175 => 38, 162 => 37, 148 => 33, 145 => 32, 138 => 29, 124 => 25, 117 => 21, 110 => 17, 106 => 15, 103 => 14, 95 => 10, 89 => 7, 84 => 6, 81 => 5, 78 => 4, 65 => 3, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% block toolbar %}
|
||||
{% if collector.totals.calls > 0 %}
|
||||
{% set icon %}
|
||||
{{ source('@WebProfiler/Icon/cache.svg') }}
|
||||
<span class=\"sf-toolbar-value\">{{ collector.totals.calls }}</span>
|
||||
<span class=\"sf-toolbar-info-piece-additional-detail\">
|
||||
<span class=\"sf-toolbar-label\">in</span>
|
||||
<span class=\"sf-toolbar-value\">{{ '%0.2f'|format(collector.totals.time * 1000) }}</span>
|
||||
<span class=\"sf-toolbar-label\">ms</span>
|
||||
</span>
|
||||
{% endset %}
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache Calls</b>
|
||||
<span>{{ collector.totals.calls }}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Total time</b>
|
||||
<span>{{ '%0.2f'|format(collector.totals.time * 1000) }} ms</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache hits</b>
|
||||
<span>{{ collector.totals.hits }} / {{ collector.totals.reads }}{% if collector.totals.hit_read_ratio is not null %} ({{ collector.totals.hit_read_ratio }}%){% endif %}</span>
|
||||
</div>
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Cache writes</b>
|
||||
<span>{{ collector.totals.writes }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label {{ collector.totals.calls == 0 ? 'disabled' }}\">
|
||||
<span class=\"icon\">
|
||||
{{ source('@WebProfiler/Icon/cache.svg') }}
|
||||
</span>
|
||||
<strong>Cache</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>Cache</h2>
|
||||
|
||||
{% if collector.totals.calls == 0 %}
|
||||
<div class=\"empty empty-panel\">
|
||||
<p>No cache calls were made.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ _self.render_metrics(collector.totals, true) }}
|
||||
|
||||
<h2>Pools</h2>
|
||||
<div class=\"sf-tabs\">
|
||||
{# the empty merge is needed to turn the iterator into an array #}
|
||||
{% set cache_pools_with_calls = collector.calls|filter(calls => calls|length > 0)|merge([]) %}
|
||||
{% for name, calls in cache_pools_with_calls %}
|
||||
<div class=\"tab {{ calls|length == 0 ? 'disabled' }}\">
|
||||
<h3 class=\"tab-title\">{{ name }} <span class=\"badge\">{{ collector.statistics[name].calls }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h4>Adapter</h4>
|
||||
<div class=\"card\">
|
||||
{% if collector.adapters[name] is defined %}
|
||||
<code>{{ collector.adapters[name] }}</code>
|
||||
{% else %}
|
||||
<span class=\"text-muted\">Unable to get the adapter class.</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if calls|length == 0 %}
|
||||
<div class=\"empty\">
|
||||
<p>No calls were made for {{ name }} pool.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<h4>Metrics</h4>
|
||||
{{ _self.render_metrics(collector.statistics[name]) }}
|
||||
|
||||
<h4>Calls</h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Time</th>
|
||||
<th>Call</th>
|
||||
<th>Hit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for call in calls %}
|
||||
<tr>
|
||||
<td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
|
||||
<td class=\"nowrap\">{{ '%0.2f'|format((call.end - call.start) * 1000) }} ms</td>
|
||||
<td class=\"nowrap\">{{ call.name }}({{ call.namespace|default('') }})</td>
|
||||
<td>{{ profiler_dump(call.value.result, maxDepth=2) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if loop.last %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Pools without calls <span class=\"badge\">{{ collector.calls|filter(calls => 0 == calls|length)|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Cache pools that received no calls</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for cache_pool in collector.calls|filter(calls => 0 == calls|length)|keys|sort %}
|
||||
<tr><td>{{ cache_pool }}</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% macro render_metrics(pool, is_total = false) %}
|
||||
<div class=\"metrics\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.calls }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total calls' : 'Calls' }}</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ '%0.2f'|format(pool.time * 1000) }} <span class=\"unit\">ms</span></span>
|
||||
<span class=\"label\">{{ is_total ? 'Total time' : 'Time' }}</span>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.reads }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total reads' : 'Reads' }}</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.writes }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total writes' : 'Writes' }}</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.deletes }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total deletes' : 'Deletes' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"metric-divider\"></div>
|
||||
|
||||
<div class=\"metric-group\">
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.hits }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total hits' : 'Hits' }}</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">{{ pool.misses }}</span>
|
||||
<span class=\"label\">{{ is_total ? 'Total misses' : 'Misses' }}</span>
|
||||
</div>
|
||||
<div class=\"metric\">
|
||||
<span class=\"value\">
|
||||
{{ pool.hit_read_ratio ?? 0 }} <span class=\"unit\">%</span>
|
||||
</span>
|
||||
<span class=\"label\">Hits/reads</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
", "@WebProfiler/Collector/cache.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/cache.html.twig");
|
||||
}
|
||||
}
|
||||
468
var/cache/dev/twig/e8/e83ed459e80f86afb37b0d1b7facfd92.php
vendored
Normal file
468
var/cache/dev/twig/e8/e83ed459e80f86afb37b0d1b7facfd92.php
vendored
Normal file
@@ -0,0 +1,468 @@
|
||||
<?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");
|
||||
}
|
||||
}
|
||||
212
var/cache/dev/twig/f2/f2ce6258592cdd713a43813084347b02.php
vendored
Normal file
212
var/cache/dev/twig/f2/f2ce6258592cdd713a43813084347b02.php
vendored
Normal file
@@ -0,0 +1,212 @@
|
||||
<?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/Collector/time.css.twig */
|
||||
class __TwigTemplate_1d1701b1112ca65d40f8d93485cb638a 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/time.css.twig"));
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/time.css.twig"));
|
||||
|
||||
// line 1
|
||||
yield "/* Legend */
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category {
|
||||
border: none;
|
||||
background: none;
|
||||
border-left: 1em solid transparent;
|
||||
line-height: 1em;
|
||||
margin: 0 1em 0 0;
|
||||
padding: 0 0.5em;
|
||||
display: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category.present {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.timeline-graph {
|
||||
margin: 1em 0;
|
||||
width: 100%;
|
||||
background-color: var(--table-background);
|
||||
border: 1px solid var(--table-border-color);
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
|
||||
.timeline-graph .timeline-label {
|
||||
font-family: var(--font-sans-serif);
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
font-weight: normal;
|
||||
fill: var(--color-text);
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-label .timeline-sublabel {
|
||||
margin-left: 1em;
|
||||
fill: var(--color-muted);
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-subrequest,
|
||||
.timeline-graph .timeline-border {
|
||||
fill: none;
|
||||
stroke: var(--table-border-color);
|
||||
stroke-width: 1px;
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-subrequest {
|
||||
fill: url(#subrequest);
|
||||
fill-opacity: 0.5;
|
||||
}
|
||||
|
||||
.timeline-subrequest-pattern {
|
||||
fill: var(--gray-200);
|
||||
}
|
||||
.theme-dark .timeline-subrequest-pattern {
|
||||
fill: var(--gray-600);
|
||||
}
|
||||
|
||||
/* Timeline periods */
|
||||
|
||||
.timeline-graph .timeline-period {
|
||||
stroke-width: 0;
|
||||
}
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Collector/time.css.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("/* Legend */
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category {
|
||||
border: none;
|
||||
background: none;
|
||||
border-left: 1em solid transparent;
|
||||
line-height: 1em;
|
||||
margin: 0 1em 0 0;
|
||||
padding: 0 0.5em;
|
||||
display: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sf-profiler-timeline .legends .timeline-category.present {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.timeline-graph {
|
||||
margin: 1em 0;
|
||||
width: 100%;
|
||||
background-color: var(--table-background);
|
||||
border: 1px solid var(--table-border-color);
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
|
||||
.timeline-graph .timeline-label {
|
||||
font-family: var(--font-sans-serif);
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
font-weight: normal;
|
||||
fill: var(--color-text);
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-label .timeline-sublabel {
|
||||
margin-left: 1em;
|
||||
fill: var(--color-muted);
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-subrequest,
|
||||
.timeline-graph .timeline-border {
|
||||
fill: none;
|
||||
stroke: var(--table-border-color);
|
||||
stroke-width: 1px;
|
||||
}
|
||||
|
||||
.timeline-graph .timeline-subrequest {
|
||||
fill: url(#subrequest);
|
||||
fill-opacity: 0.5;
|
||||
}
|
||||
|
||||
.timeline-subrequest-pattern {
|
||||
fill: var(--gray-200);
|
||||
}
|
||||
.theme-dark .timeline-subrequest-pattern {
|
||||
fill: var(--gray-600);
|
||||
}
|
||||
|
||||
/* Timeline periods */
|
||||
|
||||
.timeline-graph .timeline-period {
|
||||
stroke-width: 0;
|
||||
}
|
||||
", "@WebProfiler/Collector/time.css.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/time.css.twig");
|
||||
}
|
||||
}
|
||||
1436
var/cache/dev/twig/f5/f582fd234b33717046676c0616f648c2.php
vendored
Normal file
1436
var/cache/dev/twig/f5/f582fd234b33717046676c0616f648c2.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
147
var/cache/dev/twig/fb/fb768ae7af4e3ce9e0bf950edffd25e7.php
vendored
Normal file
147
var/cache/dev/twig/fb/fb768ae7af4e3ce9e0bf950edffd25e7.php
vendored
Normal file
@@ -0,0 +1,147 @@
|
||||
<?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/table.html.twig */
|
||||
class __TwigTemplate_d604d9201fe3a750ecd62703b15547cd 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->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/table.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/table.html.twig"));
|
||||
|
||||
// line 1
|
||||
yield "<div class=\"table-with-search-field\">
|
||||
<table class=\"";
|
||||
// line 2
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("class", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 2, $this->source); })()), "")) : ("")), "html", null, true);
|
||||
yield "\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"key\">";
|
||||
// line 5
|
||||
yield ((array_key_exists("labels", $context)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 5, $this->source); })()), 0, [], "array", false, false, false, 5), "html", null, true)) : ("Key"));
|
||||
yield "</th>
|
||||
<th scope=\"col\">";
|
||||
// line 6
|
||||
yield ((array_key_exists("labels", $context)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["labels"]) || array_key_exists("labels", $context) ? $context["labels"] : (function () { throw new RuntimeError('Variable "labels" does not exist.', 6, $this->source); })()), 1, [], "array", false, false, false, 6), "html", null, true)) : ("Value"));
|
||||
yield "</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 10
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, Twig\Extension\CoreExtension::keys((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 10, $this->source); })()))));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
|
||||
// line 11
|
||||
yield " <tr>
|
||||
<th scope=\"row\">";
|
||||
// line 12
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
|
||||
yield "</th>
|
||||
<td>";
|
||||
// line 13
|
||||
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 13, $this->source); })()), $context["key"], [], "array", false, false, false, 13));
|
||||
yield "</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_key'], $context['key'], $context['_parent']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 16
|
||||
yield " </tbody>
|
||||
</table>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
||||
|
||||
|
||||
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
||||
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "@WebProfiler/Profiler/table.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 88 => 16, 79 => 13, 75 => 12, 72 => 11, 68 => 10, 61 => 6, 57 => 5, 51 => 2, 48 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("<div class=\"table-with-search-field\">
|
||||
<table class=\"{{ class|default('') }}\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope=\"col\" class=\"key\">{{ labels is defined ? labels[0] : 'Key' }}</th>
|
||||
<th scope=\"col\">{{ labels is defined ? labels[1] : 'Value' }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for key in data|keys|sort %}
|
||||
<tr>
|
||||
<th scope=\"row\">{{ key }}</th>
|
||||
<td>{{ profiler_dump(data[key]) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
", "@WebProfiler/Profiler/table.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/table.html.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user