1048 lines
65 KiB
PHP
1048 lines
65 KiB
PHP
<?php
|
|
|
|
use Twig\Environment;
|
|
use Twig\Error\LoaderError;
|
|
use Twig\Error\RuntimeError;
|
|
use Twig\Extension\CoreExtension;
|
|
use Twig\Extension\SandboxExtension;
|
|
use Twig\Markup;
|
|
use Twig\Sandbox\SecurityError;
|
|
use Twig\Sandbox\SecurityNotAllowedTagError;
|
|
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
|
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
|
use Twig\Source;
|
|
use Twig\Template;
|
|
use Twig\TemplateWrapper;
|
|
|
|
/* @WebProfiler/Collector/config.html.twig */
|
|
class __TwigTemplate_d953a8334b50ea398cad0a0ef41ae29d 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/config.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/config.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>
|
|
.config-symfony-version-lts {
|
|
border: 0;
|
|
color: var(--color-muted);
|
|
font-size: 21px;
|
|
line-height: 33px;
|
|
}
|
|
.config-symfony-version-lts[title] {
|
|
text-decoration: none;
|
|
}
|
|
.config-symfony-version-status-badge {
|
|
background-color: var(--badge-background);
|
|
border-radius: 4px;
|
|
color: var(--badge-color);
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
margin: 10px 0 5px;
|
|
padding: 3px 7px;
|
|
white-space: nowrap;
|
|
}
|
|
.config-symfony-version-status-badge.status-success {
|
|
background-color: var(--badge-success-background);
|
|
color: var(--badge-success-color);
|
|
}
|
|
.config-symfony-version-status-badge.status-warning {
|
|
background-color: var(--badge-warning-background);
|
|
color: var(--badge-warning-color);
|
|
}
|
|
.config-symfony-version-status-badge.status-error {
|
|
background-color: var(--badge-danger-background);
|
|
color: var(--badge-danger-color);
|
|
}
|
|
.config-symfony-version-roadmap-link {
|
|
display: inline-block;
|
|
margin: 10px 5px 5px;
|
|
}
|
|
.config-symfony-eol {
|
|
margin-top: 5px;
|
|
}
|
|
</style>
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 49
|
|
/**
|
|
* @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 50
|
|
yield " ";
|
|
if (("unknown" == 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); })()), "symfonyState", [], "any", false, false, false, 50))) {
|
|
// line 51
|
|
yield " ";
|
|
$context["block_status"] = "";
|
|
// line 52
|
|
yield " ";
|
|
$context["symfony_version_status"] = "Unable to retrieve information about the Symfony version.";
|
|
// line 53
|
|
yield " ";
|
|
} elseif (("eol" == 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.', 53, $this->source); })()), "symfonyState", [], "any", false, false, false, 53))) {
|
|
// line 54
|
|
yield " ";
|
|
$context["block_status"] = "red";
|
|
// line 55
|
|
yield " ";
|
|
$context["symfony_version_status"] = "This Symfony version will no longer receive security fixes.";
|
|
// line 56
|
|
yield " ";
|
|
} elseif (("eom" == 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); })()), "symfonyState", [], "any", false, false, false, 56))) {
|
|
// line 57
|
|
yield " ";
|
|
$context["block_status"] = "yellow";
|
|
// line 58
|
|
yield " ";
|
|
$context["symfony_version_status"] = "This Symfony version will only receive security fixes.";
|
|
// line 59
|
|
yield " ";
|
|
} elseif (("dev" == 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); })()), "symfonyState", [], "any", false, false, false, 59))) {
|
|
// line 60
|
|
yield " ";
|
|
$context["block_status"] = "yellow";
|
|
// line 61
|
|
yield " ";
|
|
$context["symfony_version_status"] = "This Symfony version is still in the development phase.";
|
|
// line 62
|
|
yield " ";
|
|
} else {
|
|
// line 63
|
|
yield " ";
|
|
$context["block_status"] = "";
|
|
// line 64
|
|
yield " ";
|
|
$context["symfony_version_status"] = "";
|
|
// line 65
|
|
yield " ";
|
|
}
|
|
// line 66
|
|
yield "
|
|
";
|
|
// line 67
|
|
$context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
|
// line 68
|
|
yield " <span class=\"sf-toolbar-label\">
|
|
";
|
|
// line 69
|
|
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/symfony.svg");
|
|
yield "
|
|
</span>
|
|
<span class=\"sf-toolbar-value\">";
|
|
// line 71
|
|
yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "symfonyState", [], "any", true, true, false, 71)) ? ($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.', 71, $this->source); })()), "symfonyversion", [], "any", false, false, false, 71), "html", null, true)) : ("n/a"));
|
|
yield "</span>
|
|
";
|
|
yield from [];
|
|
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 73
|
|
yield "
|
|
";
|
|
// line 74
|
|
$context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
|
|
// line 75
|
|
yield " ";
|
|
if ((($tmp = (isset($context["symfony_version_status"]) || array_key_exists("symfony_version_status", $context) ? $context["symfony_version_status"] : (function () { throw new RuntimeError('Variable "symfony_version_status" does not exist.', 75, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 76
|
|
yield " <div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<span>";
|
|
// line 78
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["symfony_version_status"]) || array_key_exists("symfony_version_status", $context) ? $context["symfony_version_status"] : (function () { throw new RuntimeError('Variable "symfony_version_status" does not exist.', 78, $this->source); })()), "html", null, true);
|
|
yield "</span>
|
|
</div>
|
|
</div>
|
|
";
|
|
}
|
|
// line 82
|
|
yield "
|
|
<div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Profiler token</b>
|
|
<span>
|
|
";
|
|
// line 87
|
|
if ((($tmp = (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 87, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 88
|
|
yield " <a href=\"";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 88, $this->source); })()), "html", null, true);
|
|
yield "\">";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 88, $this->source); })()), "token", [], "any", false, false, false, 88), "html", null, true);
|
|
yield "</a>
|
|
";
|
|
} else {
|
|
// line 90
|
|
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.', 90, $this->source); })()), "token", [], "any", false, false, false, 90), "html", null, true);
|
|
yield "
|
|
";
|
|
}
|
|
// line 92
|
|
yield " </span>
|
|
</div>
|
|
|
|
";
|
|
// line 95
|
|
if ((($tmp = !("n/a" === 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); })()), "env", [], "any", false, false, false, 95))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 96
|
|
yield " <div class=\"sf-toolbar-info-piece\">
|
|
<b>Environment</b>
|
|
<span>";
|
|
// line 98
|
|
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.', 98, $this->source); })()), "env", [], "any", false, false, false, 98), "html", null, true);
|
|
yield "</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 101
|
|
yield "
|
|
";
|
|
// line 102
|
|
if ((($tmp = !("n/a" === 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.', 102, $this->source); })()), "debug", [], "any", false, false, false, 102))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 103
|
|
yield " <div class=\"sf-toolbar-info-piece\">
|
|
<b>Debug</b>
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-";
|
|
// line 105
|
|
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.', 105, $this->source); })()), "debug", [], "any", false, false, false, 105)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("green") : ("red"));
|
|
yield "\">";
|
|
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.', 105, $this->source); })()), "debug", [], "any", false, false, false, 105)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("enabled") : ("disabled"));
|
|
yield "</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 108
|
|
yield " </div>
|
|
|
|
<div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php\">
|
|
<b>PHP version</b>
|
|
<span";
|
|
// line 113
|
|
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.', 113, $this->source); })()), "phpversionextra", [], "any", false, false, false, 113)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
yield " title=\"";
|
|
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); })()), "phpversion", [], "any", false, false, false, 113) . 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); })()), "phpversionextra", [], "any", false, false, false, 113)), "html", null, true);
|
|
yield "\"";
|
|
}
|
|
yield ">
|
|
";
|
|
// line 114
|
|
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.', 114, $this->source); })()), "phpversion", [], "any", false, false, false, 114), "html", null, true);
|
|
yield "
|
|
<a href=\"";
|
|
// line 115
|
|
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
|
|
yield "\">View phpinfo()</a>
|
|
</span>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php-ext\">
|
|
<b>PHP Extensions</b>
|
|
";
|
|
// line 121
|
|
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.', 121, $this->source); })()), "hasXdebugInfo", [], "any", false, false, false, 121)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 122
|
|
yield " <a href=\"";
|
|
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_xdebug");
|
|
yield "\" title=\"View xdebug_info()\">
|
|
";
|
|
}
|
|
// line 124
|
|
yield " <span class=\"sf-toolbar-status sf-toolbar-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.', 124, $this->source); })()), "hasXdebug", [], "any", false, false, false, 124)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("green") : ("gray"));
|
|
yield "\">Xdebug ";
|
|
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.', 124, $this->source); })()), "hasXdebug", [], "any", false, false, false, 124)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("✓") : ("✗"));
|
|
yield "</span>
|
|
";
|
|
// line 125
|
|
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.', 125, $this->source); })()), "hasXdebugInfo", [], "any", false, false, false, 125)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 126
|
|
yield " </a>
|
|
";
|
|
}
|
|
// line 128
|
|
yield " <span class=\"sf-toolbar-status sf-toolbar-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.', 128, $this->source); })()), "hasapcu", [], "any", false, false, false, 128)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("green") : ("gray"));
|
|
yield "\">APCu ";
|
|
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.', 128, $this->source); })()), "hasapcu", [], "any", false, false, false, 128)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("✓") : ("✗"));
|
|
yield "</span>
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-";
|
|
// line 129
|
|
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.', 129, $this->source); })()), "haszendopcache", [], "any", false, false, false, 129)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("green") : ("red"));
|
|
yield "\">OPcache ";
|
|
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.', 129, $this->source); })()), "haszendopcache", [], "any", false, false, false, 129)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("✓") : ("✗"));
|
|
yield "</span>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>PHP SAPI</b>
|
|
<span>";
|
|
// line 134
|
|
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); })()), "sapiName", [], "any", false, false, false, 134), "html", null, true);
|
|
yield "</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-group\">
|
|
";
|
|
// line 139
|
|
if (CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "symfonyversion", [], "any", true, true, false, 139)) {
|
|
// line 140
|
|
yield " <div class=\"sf-toolbar-info-piece\">
|
|
<b>Resources</b>
|
|
<span>
|
|
<a href=\"https://symfony.com/doc/";
|
|
// line 143
|
|
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.', 143, $this->source); })()), "symfonyversion", [], "any", false, false, false, 143), "html", null, true);
|
|
yield "/index.html\" rel=\"help\">
|
|
Read Symfony ";
|
|
// line 144
|
|
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.', 144, $this->source); })()), "symfonyversion", [], "any", false, false, false, 144), "html", null, true);
|
|
yield " Docs
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Help</b>
|
|
<span>
|
|
<a href=\"https://symfony.com/support\">
|
|
Symfony Support Channels
|
|
</a>
|
|
</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 157
|
|
yield " </div>
|
|
";
|
|
yield from [];
|
|
})())) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 159
|
|
yield "
|
|
";
|
|
// line 160
|
|
yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true, "name" => "config", "status" => (isset($context["block_status"]) || array_key_exists("block_status", $context) ? $context["block_status"] : (function () { throw new RuntimeError('Variable "block_status" does not exist.', 160, $this->source); })()), "additional_classes" => "sf-toolbar-block-right"]);
|
|
yield "
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 163
|
|
/**
|
|
* @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 164
|
|
yield " <span class=\"label label-status-";
|
|
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.', 164, $this->source); })()), "symfonyState", [], "any", false, false, false, 164) == "eol")) ? ("red") : (((CoreExtension::inFilter(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.', 164, $this->source); })()), "symfonyState", [], "any", false, false, false, 164), ["eom", "dev"])) ? ("yellow") : (""))));
|
|
yield "\">
|
|
<span class=\"icon\">";
|
|
// line 165
|
|
yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/config.svg");
|
|
yield "</span>
|
|
<strong>Configuration</strong>
|
|
</span>
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
// line 170
|
|
/**
|
|
* @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 171
|
|
yield " <h2>Symfony Configuration</h2>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">
|
|
";
|
|
// line 176
|
|
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.', 176, $this->source); })()), "symfonyversion", [], "any", false, false, false, 176), "html", null, true);
|
|
yield "
|
|
|
|
";
|
|
// line 178
|
|
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.', 178, $this->source); })()), "symfonylts", [], "any", false, false, false, 178)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 179
|
|
yield " <abbr class=\"config-symfony-version-lts\" title=\"This is a Long-Term Support version\">(LTS)</abbr>
|
|
";
|
|
}
|
|
// line 181
|
|
yield " </span>
|
|
<span class=\"label\">Symfony version</span>
|
|
</div>
|
|
|
|
";
|
|
// line 185
|
|
if ((($tmp = !("n/a" === 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.', 185, $this->source); })()), "env", [], "any", false, false, false, 185))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 186
|
|
yield " <div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 187
|
|
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.', 187, $this->source); })()), "env", [], "any", false, false, false, 187), "html", null, true);
|
|
yield "</span>
|
|
<span class=\"label\">Environment</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 191
|
|
yield "
|
|
";
|
|
// line 192
|
|
if ((($tmp = !("n/a" === 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.', 192, $this->source); })()), "debug", [], "any", false, false, false, 192))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 193
|
|
yield " <div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 194
|
|
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.', 194, $this->source); })()), "debug", [], "any", false, false, false, 194)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("enabled") : ("disabled"));
|
|
yield "</span>
|
|
<span class=\"label\">Debug</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 198
|
|
yield " </div>
|
|
|
|
";
|
|
// line 200
|
|
$context["symfony_status"] = ["dev" => "In Development", "stable" => "Maintained", "eom" => "Security Fixes Only", "eol" => "Unmaintained"];
|
|
// line 201
|
|
yield " ";
|
|
$context["symfony_status_class"] = ["dev" => "warning", "stable" => "success", "eom" => "warning", "eol" => "error"];
|
|
// line 202
|
|
yield "
|
|
<div class=\"metrics\">
|
|
<div class=\"metric-group\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">
|
|
<span class=\"config-symfony-version-status-badge status-";
|
|
// line 207
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["symfony_status_class"]) || array_key_exists("symfony_status_class", $context) ? $context["symfony_status_class"] : (function () { throw new RuntimeError('Variable "symfony_status_class" does not exist.', 207, $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.', 207, $this->source); })()), "symfonystate", [], "any", false, false, false, 207), [], "array", false, false, false, 207), "html", null, true);
|
|
yield "\">";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["symfony_status"]) || array_key_exists("symfony_status", $context) ? $context["symfony_status"] : (function () { throw new RuntimeError('Variable "symfony_status" does not exist.', 207, $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.', 207, $this->source); })()), "symfonystate", [], "any", false, false, false, 207), [], "array", false, false, false, 207)), "html", null, true);
|
|
yield "</span>
|
|
</span>
|
|
<span class=\"label\">Your Symfony version status</span>
|
|
</div>
|
|
|
|
";
|
|
// line 212
|
|
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.', 212, $this->source); })()), "symfonylts", [], "any", false, false, false, 212)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 213
|
|
yield " <div class=\"metric\">
|
|
<span class=\"value config-symfony-eol\">
|
|
";
|
|
// line 215
|
|
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.', 215, $this->source); })()), "symfonyeom", [], "any", false, false, false, 215), "html", null, true);
|
|
yield "
|
|
</span>
|
|
<span class=\"label\">Bug fixes ";
|
|
// line 217
|
|
yield ((CoreExtension::inFilter(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.', 217, $this->source); })()), "symfonystate", [], "any", false, false, false, 217), ["eom", "eol"])) ? ("ended on") : ("until"));
|
|
yield "</span>
|
|
</div>
|
|
";
|
|
}
|
|
// line 220
|
|
yield "
|
|
<div class=\"metric\">
|
|
<span class=\"value config-symfony-eol\">
|
|
";
|
|
// line 223
|
|
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.', 223, $this->source); })()), "symfonyeol", [], "any", false, false, false, 223), "html", null, true);
|
|
yield "
|
|
</span>
|
|
<span class=\"label\">
|
|
";
|
|
// line 226
|
|
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.', 226, $this->source); })()), "symfonylts", [], "any", false, false, false, 226)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Security fixes") : ("Bug fixes and security fixes"));
|
|
yield "
|
|
";
|
|
// line 227
|
|
yield ((("eol" == 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.', 227, $this->source); })()), "symfonystate", [], "any", false, false, false, 227))) ? ("ended on") : ("until"));
|
|
yield "</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<a class=\"config-symfony-version-roadmap-link\" href=\"https://symfony.com/releases/";
|
|
// line 232
|
|
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.', 232, $this->source); })()), "symfonyminorversion", [], "any", false, false, false, 232), "html", null, true);
|
|
yield "\">View Symfony ";
|
|
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.', 232, $this->source); })()), "symfonyversion", [], "any", false, false, false, 232), "html", null, true);
|
|
yield " release details</a>
|
|
|
|
<h2>PHP Configuration</h2>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 238
|
|
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.', 238, $this->source); })()), "phpversion", [], "any", false, false, false, 238), "html", null, true);
|
|
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.', 238, $this->source); })()), "phpversionextra", [], "any", false, false, false, 238)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
yield " <span class=\"unit\">";
|
|
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.', 238, $this->source); })()), "phpversionextra", [], "any", false, false, false, 238), "html", null, true);
|
|
yield "</span>";
|
|
}
|
|
yield "</span>
|
|
<span class=\"label\">PHP version</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 243
|
|
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.', 243, $this->source); })()), "phparchitecture", [], "any", false, false, false, 243), "html", null, true);
|
|
yield " <span class=\"unit\">bits</span></span>
|
|
<span class=\"label\">Architecture</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 248
|
|
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.', 248, $this->source); })()), "phpintllocale", [], "any", false, false, false, 248), "html", null, true);
|
|
yield "</span>
|
|
<span class=\"label\">Intl locale</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">";
|
|
// line 253
|
|
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.', 253, $this->source); })()), "phptimezone", [], "any", false, false, false, 253), "html", null, true);
|
|
yield "</span>
|
|
<span class=\"label\">Timezone</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric-group\">
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon ";
|
|
// line 261
|
|
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.', 261, $this->source); })()), "haszendopcache", [], "any", false, false, false, 261)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("value-shows-no-color") : (""));
|
|
yield "\" title=\"";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "zendopcachestatus", [], "any", true, true, false, 261)) ? (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.', 261, $this->source); })()), "zendopcachestatus", [], "any", false, false, false, 261), "")) : ("")), "html", null, true);
|
|
yield "\">";
|
|
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.', 261, $this->source); })()), "haszendopcache", [], "any", false, false, false, 261)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
|
yield "</span>
|
|
<span class=\"label\">OPcache</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon ";
|
|
// line 266
|
|
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.', 266, $this->source); })()), "hasapcu", [], "any", false, false, false, 266)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("value-shows-no-color") : (""));
|
|
yield "\" title=\"";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "apcustatus", [], "any", true, true, false, 266)) ? (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.', 266, $this->source); })()), "apcustatus", [], "any", false, false, false, 266), "")) : ("")), "html", null, true);
|
|
yield "\">";
|
|
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.', 266, $this->source); })()), "hasapcu", [], "any", false, false, false, 266)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
|
yield "</span>
|
|
<span class=\"label\">APCu</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon ";
|
|
// line 271
|
|
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.', 271, $this->source); })()), "hasxdebug", [], "any", false, false, false, 271)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("value-shows-no-color") : (""));
|
|
yield "\" title=\"";
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["collector"] ?? null), "xdebugstatus", [], "any", true, true, false, 271)) ? (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.', 271, $this->source); })()), "xdebugstatus", [], "any", false, false, false, 271), "")) : ("")), "html", null, true);
|
|
yield "\">";
|
|
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.', 271, $this->source); })()), "hasxdebug", [], "any", false, false, false, 271)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("yes") : ("no"))) . ".svg"));
|
|
yield "</span>
|
|
<span class=\"label\">Xdebug</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
<a href=\"";
|
|
// line 278
|
|
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
|
|
yield "\">View full PHP configuration</a>
|
|
</p>
|
|
|
|
";
|
|
// line 281
|
|
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.', 281, $this->source); })()), "bundles", [], "any", false, false, false, 281)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
|
|
// line 282
|
|
yield " <h2>Enabled Bundles <small>(";
|
|
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.', 282, $this->source); })()), "bundles", [], "any", false, false, false, 282)), "html", null, true);
|
|
yield ")</small></h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class=\"key\">Name</th>
|
|
<th>Class</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
";
|
|
// line 291
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, 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.', 291, $this->source); })()), "bundles", [], "any", false, false, false, 291))));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
|
|
// line 292
|
|
yield " <tr>
|
|
<th scope=\"row\" class=\"font-normal\">";
|
|
// line 293
|
|
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["name"], "html", null, true);
|
|
yield "</th>
|
|
<td class=\"font-normal\">";
|
|
// line 294
|
|
yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, 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.', 294, $this->source); })()), "bundles", [], "any", false, false, false, 294), $context["name"], [], "array", false, false, false, 294));
|
|
yield "</td>
|
|
</tr>
|
|
";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_key'], $context['name'], $context['_parent']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 297
|
|
yield " </tbody>
|
|
</table>
|
|
";
|
|
}
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
|
|
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
|
|
|
|
yield from [];
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName(): string
|
|
{
|
|
return "@WebProfiler/Collector/config.html.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable(): bool
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo(): array
|
|
{
|
|
return array ( 706 => 297, 697 => 294, 693 => 293, 690 => 292, 686 => 291, 673 => 282, 671 => 281, 665 => 278, 651 => 271, 639 => 266, 627 => 261, 616 => 253, 608 => 248, 600 => 243, 587 => 238, 576 => 232, 568 => 227, 564 => 226, 558 => 223, 553 => 220, 547 => 217, 542 => 215, 538 => 213, 536 => 212, 526 => 207, 519 => 202, 516 => 201, 514 => 200, 510 => 198, 503 => 194, 500 => 193, 498 => 192, 495 => 191, 488 => 187, 485 => 186, 483 => 185, 477 => 181, 473 => 179, 471 => 178, 466 => 176, 459 => 171, 446 => 170, 431 => 165, 426 => 164, 413 => 163, 400 => 160, 397 => 159, 392 => 157, 376 => 144, 372 => 143, 367 => 140, 365 => 139, 357 => 134, 347 => 129, 340 => 128, 336 => 126, 334 => 125, 327 => 124, 321 => 122, 319 => 121, 310 => 115, 306 => 114, 298 => 113, 291 => 108, 283 => 105, 279 => 103, 277 => 102, 274 => 101, 268 => 98, 264 => 96, 262 => 95, 257 => 92, 251 => 90, 243 => 88, 241 => 87, 234 => 82, 227 => 78, 223 => 76, 220 => 75, 218 => 74, 215 => 73, 209 => 71, 204 => 69, 201 => 68, 199 => 67, 196 => 66, 193 => 65, 190 => 64, 187 => 63, 184 => 62, 181 => 61, 178 => 60, 175 => 59, 172 => 58, 169 => 57, 166 => 56, 163 => 55, 160 => 54, 157 => 53, 154 => 52, 151 => 51, 148 => 50, 135 => 49, 79 => 4, 66 => 3, 43 => 1,);
|
|
}
|
|
|
|
public function getSourceContext(): Source
|
|
{
|
|
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
|
|
|
{% block head %}
|
|
{{ parent() }}
|
|
|
|
<style>
|
|
.config-symfony-version-lts {
|
|
border: 0;
|
|
color: var(--color-muted);
|
|
font-size: 21px;
|
|
line-height: 33px;
|
|
}
|
|
.config-symfony-version-lts[title] {
|
|
text-decoration: none;
|
|
}
|
|
.config-symfony-version-status-badge {
|
|
background-color: var(--badge-background);
|
|
border-radius: 4px;
|
|
color: var(--badge-color);
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
margin: 10px 0 5px;
|
|
padding: 3px 7px;
|
|
white-space: nowrap;
|
|
}
|
|
.config-symfony-version-status-badge.status-success {
|
|
background-color: var(--badge-success-background);
|
|
color: var(--badge-success-color);
|
|
}
|
|
.config-symfony-version-status-badge.status-warning {
|
|
background-color: var(--badge-warning-background);
|
|
color: var(--badge-warning-color);
|
|
}
|
|
.config-symfony-version-status-badge.status-error {
|
|
background-color: var(--badge-danger-background);
|
|
color: var(--badge-danger-color);
|
|
}
|
|
.config-symfony-version-roadmap-link {
|
|
display: inline-block;
|
|
margin: 10px 5px 5px;
|
|
}
|
|
.config-symfony-eol {
|
|
margin-top: 5px;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block toolbar %}
|
|
{% if 'unknown' == collector.symfonyState %}
|
|
{% set block_status = '' %}
|
|
{% set symfony_version_status = 'Unable to retrieve information about the Symfony version.' %}
|
|
{% elseif 'eol' == collector.symfonyState %}
|
|
{% set block_status = 'red' %}
|
|
{% set symfony_version_status = 'This Symfony version will no longer receive security fixes.' %}
|
|
{% elseif 'eom' == collector.symfonyState %}
|
|
{% set block_status = 'yellow' %}
|
|
{% set symfony_version_status = 'This Symfony version will only receive security fixes.' %}
|
|
{% elseif 'dev' == collector.symfonyState %}
|
|
{% set block_status = 'yellow' %}
|
|
{% set symfony_version_status = 'This Symfony version is still in the development phase.' %}
|
|
{% else %}
|
|
{% set block_status = '' %}
|
|
{% set symfony_version_status = '' %}
|
|
{% endif %}
|
|
|
|
{% set icon %}
|
|
<span class=\"sf-toolbar-label\">
|
|
{{ source('@WebProfiler/Icon/symfony.svg') }}
|
|
</span>
|
|
<span class=\"sf-toolbar-value\">{{ collector.symfonyState is defined ? collector.symfonyversion : 'n/a' }}</span>
|
|
{% endset %}
|
|
|
|
{% set text %}
|
|
{% if symfony_version_status %}
|
|
<div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<span>{{ symfony_version_status }}</span>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Profiler token</b>
|
|
<span>
|
|
{% if profiler_url %}
|
|
<a href=\"{{ profiler_url }}\">{{ collector.token }}</a>
|
|
{% else %}
|
|
{{ collector.token }}
|
|
{% endif %}
|
|
</span>
|
|
</div>
|
|
|
|
{% if 'n/a' is not same as(collector.env) %}
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Environment</b>
|
|
<span>{{ collector.env }}</span>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if 'n/a' is not same as(collector.debug) %}
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Debug</b>
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.debug ? 'green' : 'red' }}\">{{ collector.debug ? 'enabled' : 'disabled' }}</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-group\">
|
|
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php\">
|
|
<b>PHP version</b>
|
|
<span{% if collector.phpversionextra %} title=\"{{ collector.phpversion ~ collector.phpversionextra }}\"{% endif %}>
|
|
{{ collector.phpversion }}
|
|
<a href=\"{{ path('_profiler_phpinfo') }}\">View phpinfo()</a>
|
|
</span>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php-ext\">
|
|
<b>PHP Extensions</b>
|
|
{% if collector.hasXdebugInfo %}
|
|
<a href=\"{{ path('_profiler_xdebug') }}\" title=\"View xdebug_info()\">
|
|
{% endif %}
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.hasXdebug ? 'green' : 'gray' }}\">Xdebug {{ collector.hasXdebug ? '✓' : '✗' }}</span>
|
|
{% if collector.hasXdebugInfo %}
|
|
</a>
|
|
{% endif %}
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.hasapcu ? 'green' : 'gray' }}\">APCu {{ collector.hasapcu ? '✓' : '✗' }}</span>
|
|
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.haszendopcache ? 'green' : 'red' }}\">OPcache {{ collector.haszendopcache ? '✓' : '✗' }}</span>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>PHP SAPI</b>
|
|
<span>{{ collector.sapiName }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"sf-toolbar-info-group\">
|
|
{% if collector.symfonyversion is defined %}
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Resources</b>
|
|
<span>
|
|
<a href=\"https://symfony.com/doc/{{ collector.symfonyversion }}/index.html\" rel=\"help\">
|
|
Read Symfony {{ collector.symfonyversion }} Docs
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<b>Help</b>
|
|
<span>
|
|
<a href=\"https://symfony.com/support\">
|
|
Symfony Support Channels
|
|
</a>
|
|
</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endset %}
|
|
|
|
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true, name: 'config', status: block_status, additional_classes: 'sf-toolbar-block-right' }) }}
|
|
{% endblock %}
|
|
|
|
{% block menu %}
|
|
<span class=\"label label-status-{{ collector.symfonyState == 'eol' ? 'red' : collector.symfonyState in ['eom', 'dev'] ? 'yellow' }}\">
|
|
<span class=\"icon\">{{ source('@WebProfiler/Icon/config.svg') }}</span>
|
|
<strong>Configuration</strong>
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<h2>Symfony Configuration</h2>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">
|
|
{{ collector.symfonyversion }}
|
|
|
|
{% if collector.symfonylts %}
|
|
<abbr class=\"config-symfony-version-lts\" title=\"This is a Long-Term Support version\">(LTS)</abbr>
|
|
{% endif %}
|
|
</span>
|
|
<span class=\"label\">Symfony version</span>
|
|
</div>
|
|
|
|
{% if 'n/a' is not same as(collector.env) %}
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.env }}</span>
|
|
<span class=\"label\">Environment</span>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if 'n/a' is not same as(collector.debug) %}
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.debug ? 'enabled' : 'disabled' }}</span>
|
|
<span class=\"label\">Debug</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% set symfony_status = { dev: 'In Development', stable: 'Maintained', eom: 'Security Fixes Only', eol: 'Unmaintained' } %}
|
|
{% set symfony_status_class = { dev: 'warning', stable: 'success', eom: 'warning', eol: 'error' } %}
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric-group\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">
|
|
<span class=\"config-symfony-version-status-badge status-{{ symfony_status_class[collector.symfonystate] }}\">{{ symfony_status[collector.symfonystate]|upper }}</span>
|
|
</span>
|
|
<span class=\"label\">Your Symfony version status</span>
|
|
</div>
|
|
|
|
{% if collector.symfonylts %}
|
|
<div class=\"metric\">
|
|
<span class=\"value config-symfony-eol\">
|
|
{{ collector.symfonyeom }}
|
|
</span>
|
|
<span class=\"label\">Bug fixes {{ collector.symfonystate in ['eom', 'eol'] ? 'ended on' : 'until' }}</span>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value config-symfony-eol\">
|
|
{{ collector.symfonyeol }}
|
|
</span>
|
|
<span class=\"label\">
|
|
{{ collector.symfonylts ? 'Security fixes' : 'Bug fixes and security fixes' }}
|
|
{{ 'eol' == collector.symfonystate ? 'ended on' : 'until' }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<a class=\"config-symfony-version-roadmap-link\" href=\"https://symfony.com/releases/{{ collector.symfonyminorversion }}\">View Symfony {{ collector.symfonyversion }} release details</a>
|
|
|
|
<h2>PHP Configuration</h2>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.phpversion }}{% if collector.phpversionextra %} <span class=\"unit\">{{ collector.phpversionextra }}</span>{% endif %}</span>
|
|
<span class=\"label\">PHP version</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.phparchitecture }} <span class=\"unit\">bits</span></span>
|
|
<span class=\"label\">Architecture</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.phpintllocale }}</span>
|
|
<span class=\"label\">Intl locale</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value\">{{ collector.phptimezone }}</span>
|
|
<span class=\"label\">Timezone</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class=\"metrics\">
|
|
<div class=\"metric-group\">
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon {{ not collector.haszendopcache ? 'value-shows-no-color' }}\" title=\"{{ collector.zendopcachestatus|default('') }}\">{{ source('@WebProfiler/Icon/' ~ (collector.haszendopcache ? 'yes' : 'no') ~ '.svg') }}</span>
|
|
<span class=\"label\">OPcache</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon {{ not collector.hasapcu ? 'value-shows-no-color' }}\" title=\"{{ collector.apcustatus|default('') }}\">{{ source('@WebProfiler/Icon/' ~ (collector.hasapcu ? 'yes' : 'no') ~ '.svg') }}</span>
|
|
<span class=\"label\">APCu</span>
|
|
</div>
|
|
|
|
<div class=\"metric\">
|
|
<span class=\"value value-is-icon {{ not collector.hasxdebug ? 'value-shows-no-color' }}\" title=\"{{ collector.xdebugstatus|default('') }}\">{{ source('@WebProfiler/Icon/' ~ (collector.hasxdebug ? 'yes' : 'no') ~ '.svg') }}</span>
|
|
<span class=\"label\">Xdebug</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
<a href=\"{{ path('_profiler_phpinfo') }}\">View full PHP configuration</a>
|
|
</p>
|
|
|
|
{% if collector.bundles %}
|
|
<h2>Enabled Bundles <small>({{ collector.bundles|length }})</small></h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class=\"key\">Name</th>
|
|
<th>Class</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for name in collector.bundles|keys|sort %}
|
|
<tr>
|
|
<th scope=\"row\" class=\"font-normal\">{{ name }}</th>
|
|
<td class=\"font-normal\">{{ profiler_dump(collector.bundles[name]) }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
{% endblock %}
|
|
", "@WebProfiler/Collector/config.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/config.html.twig");
|
|
}
|
|
}
|