var/cache/dev/twig/2d/2dba41862c0e8393c4e43ca7bbe02d4b.php line 50
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @WebProfiler/Collector/config.html.twig */
class __TwigTemplate_0114b917136cea19cc7b70f2185cd7bd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_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->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/config.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_toolbar($context, array $blocks = [])
{
$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
echo " ";
if (("unknown" == twig_get_attribute($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); })()), "symfonyState", [], "any", false, false, false, 4))) {
// line 5
echo " ";
$context["block_status"] = "";
// line 6
echo " ";
$context["symfony_version_status"] = "Unable to retrieve information about the Symfony version.";
// line 7
echo " ";
} elseif (("eol" == twig_get_attribute($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); })()), "symfonyState", [], "any", false, false, false, 7))) {
// line 8
echo " ";
$context["block_status"] = "red";
// line 9
echo " ";
$context["symfony_version_status"] = "This Symfony version will no longer receive security fixes.";
// line 10
echo " ";
} elseif (("eom" == twig_get_attribute($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); })()), "symfonyState", [], "any", false, false, false, 10))) {
// line 11
echo " ";
$context["block_status"] = "yellow";
// line 12
echo " ";
$context["symfony_version_status"] = "This Symfony version will only receive security fixes.";
// line 13
echo " ";
} elseif (("dev" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 13, $this->source); })()), "symfonyState", [], "any", false, false, false, 13))) {
// line 14
echo " ";
$context["block_status"] = "yellow";
// line 15
echo " ";
$context["symfony_version_status"] = "This Symfony version is still in the development phase.";
// line 16
echo " ";
} else {
// line 17
echo " ";
$context["block_status"] = "";
// line 18
echo " ";
$context["symfony_version_status"] = "";
// line 19
echo " ";
}
// line 20
echo "
";
// line 21
ob_start();
// line 22
echo " <span class=\"sf-toolbar-label\">
";
// line 23
echo twig_source($this->env, "@WebProfiler/Icon/symfony.svg");
echo "
</span>
<span class=\"sf-toolbar-value\">";
// line 25
((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "symfonyState", [], "any", true, true, false, 25)) ? (print (twig_escape_filter($this->env, twig_get_attribute($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); })()), "symfonyversion", [], "any", false, false, false, 25), "html", null, true))) : (print ("n/a")));
echo "</span>
";
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 27
echo "
";
// line 28
ob_start();
// line 29
echo " <div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Profiler token</b>
<span>
";
// line 33
if ((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); })())) {
// line 34
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 34, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "token", [], "any", false, false, false, 34), "html", null, true);
echo "</a>
";
} else {
// line 36
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "token", [], "any", false, false, false, 36), "html", null, true);
echo "
";
}
// line 38
echo " </span>
</div>
";
// line 41
if ( !("n/a" === twig_get_attribute($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); })()), "env", [], "any", false, false, false, 41))) {
// line 42
echo " <div class=\"sf-toolbar-info-piece\">
<b>Environment</b>
<span>";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "env", [], "any", false, false, false, 44), "html", null, true);
echo "</span>
</div>
";
}
// line 47
echo "
";
// line 48
if ( !("n/a" === twig_get_attribute($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); })()), "debug", [], "any", false, false, false, 48))) {
// line 49
echo " <div class=\"sf-toolbar-info-piece\">
<b>Debug</b>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 51
echo ((twig_get_attribute($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); })()), "debug", [], "any", false, false, false, 51)) ? ("green") : ("red"));
echo "\">";
echo ((twig_get_attribute($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); })()), "debug", [], "any", false, false, false, 51)) ? ("enabled") : ("disabled"));
echo "</span>
</div>
";
}
// line 54
echo " </div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php\">
<b>PHP version</b>
<span";
// line 59
if (twig_get_attribute($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); })()), "phpversionextra", [], "any", false, false, false, 59)) {
echo " title=\"";
echo twig_escape_filter($this->env, (twig_get_attribute($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); })()), "phpversion", [], "any", false, false, false, 59) . twig_get_attribute($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); })()), "phpversionextra", [], "any", false, false, false, 59)), "html", null, true);
echo "\"";
}
echo ">
";
// line 60
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 60, $this->source); })()), "phpversion", [], "any", false, false, false, 60), "html", null, true);
echo "
<a href=\"";
// line 61
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
echo "\">View phpinfo()</a>
</span>
</div>
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php-ext\">
<b>PHP Extensions</b>
";
// line 67
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 67, $this->source); })()), "hasXdebugInfo", [], "any", false, false, false, 67)) {
// line 68
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_xdebug");
echo "\" title=\"View xdebug_info()\">
";
}
// line 70
echo " <span class=\"sf-toolbar-status sf-toolbar-status-";
echo ((twig_get_attribute($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); })()), "hasXdebug", [], "any", false, false, false, 70)) ? ("green") : ("gray"));
echo "\">Xdebug ";
echo ((twig_get_attribute($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); })()), "hasXdebug", [], "any", false, false, false, 70)) ? ("✓") : ("✗"));
echo "</span>
";
// line 71
if (twig_get_attribute($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); })()), "hasXdebugInfo", [], "any", false, false, false, 71)) {
// line 72
echo " </a>
";
}
// line 74
echo " <span class=\"sf-toolbar-status sf-toolbar-status-";
echo ((twig_get_attribute($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); })()), "hasapcu", [], "any", false, false, false, 74)) ? ("green") : ("gray"));
echo "\">APCu ";
echo ((twig_get_attribute($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); })()), "hasapcu", [], "any", false, false, false, 74)) ? ("✓") : ("✗"));
echo "</span>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 75
echo ((twig_get_attribute($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); })()), "haszendopcache", [], "any", false, false, false, 75)) ? ("green") : ("red"));
echo "\">OPcache ";
echo ((twig_get_attribute($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); })()), "haszendopcache", [], "any", false, false, false, 75)) ? ("✓") : ("✗"));
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>PHP SAPI</b>
<span>";
// line 80
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 80, $this->source); })()), "sapiName", [], "any", false, false, false, 80), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
";
// line 85
if (twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "symfonyversion", [], "any", true, true, false, 85)) {
// line 86
echo " <div class=\"sf-toolbar-info-piece\">
<b>Resources</b>
<span>
<a href=\"https://symfony.com/doc/";
// line 89
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 89, $this->source); })()), "symfonyversion", [], "any", false, false, false, 89), "html", null, true);
echo "/index.html\" rel=\"help\">
Read Symfony ";
// line 90
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "symfonyversion", [], "any", false, false, false, 90), "html", null, true);
echo " 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 103
echo " </div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 105
echo "
";
// line 106
echo twig_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.', 106, $this->source); })()), "additional_classes" => "sf-toolbar-block-right", "block_attrs" => (("title=\"" . (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.', 106, $this->source); })())) . "\"")]);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 109
public function block_menu($context, array $blocks = [])
{
$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 110
echo " <span class=\"label label-status-";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 110, $this->source); })()), "symfonyState", [], "any", false, false, false, 110) == "eol")) ? ("red") : (((twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 110, $this->source); })()), "symfonyState", [], "any", false, false, false, 110), [0 => "eom", 1 => "dev"])) ? ("yellow") : (""))));
echo "\">
<span class=\"icon\">";
// line 111
echo twig_source($this->env, "@WebProfiler/Icon/config.svg");
echo "</span>
<strong>Configuration</strong>
</span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 116
public function block_panel($context, array $blocks = [])
{
$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 117
echo " <h2>Symfony Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">
";
// line 122
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "symfonyversion", [], "any", false, false, false, 122), "html", null, true);
echo "
";
// line 124
if (twig_get_attribute($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); })()), "symfonylts", [], "any", false, false, false, 124)) {
// line 125
echo " <abbr class=\"config-symfony-version-lts\" title=\"This is a Long-Term Support version\">(LTS)</abbr>
";
}
// line 127
echo " </span>
<span class=\"label\">Symfony version</span>
</div>
";
// line 131
if ( !("n/a" === twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 131, $this->source); })()), "env", [], "any", false, false, false, 131))) {
// line 132
echo " <div class=\"metric\">
<span class=\"value\">";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "env", [], "any", false, false, false, 133), "html", null, true);
echo "</span>
<span class=\"label\">Environment</span>
</div>
";
}
// line 137
echo "
";
// line 138
if ( !("n/a" === twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 138, $this->source); })()), "debug", [], "any", false, false, false, 138))) {
// line 139
echo " <div class=\"metric\">
<span class=\"value\">";
// line 140
echo ((twig_get_attribute($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); })()), "debug", [], "any", false, false, false, 140)) ? ("enabled") : ("disabled"));
echo "</span>
<span class=\"label\">Debug</span>
</div>
";
}
// line 144
echo " </div>
";
// line 146
$context["symfony_status"] = ["dev" => "In Development", "stable" => "Maintained", "eom" => "Security Fixes Only", "eol" => "Unmaintained"];
// line 147
echo " ";
$context["symfony_status_class"] = ["dev" => "warning", "stable" => "success", "eom" => "warning", "eol" => "error"];
// line 148
echo "
<div class=\"metrics\">
<div class=\"metric-group\">
<div class=\"metric\">
<span class=\"value\">
<span class=\"config-symfony-version-status-badge status-";
// line 153
echo twig_escape_filter($this->env, twig_get_attribute($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.', 153, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 153, $this->source); })()), "symfonystate", [], "any", false, false, false, 153), [], "array", false, false, false, 153), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($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.', 153, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 153, $this->source); })()), "symfonystate", [], "any", false, false, false, 153), [], "array", false, false, false, 153)), "html", null, true);
echo "</span>
</span>
<span class=\"label\">Your Symfony version status</span>
</div>
";
// line 158
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 158, $this->source); })()), "symfonylts", [], "any", false, false, false, 158)) {
// line 159
echo " <div class=\"metric\">
<span class=\"value config-symfony-eol\">
";
// line 161
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 161, $this->source); })()), "symfonyeom", [], "any", false, false, false, 161), "html", null, true);
echo "
</span>
<span class=\"label\">Bug fixes ";
// line 163
echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 163, $this->source); })()), "symfonystate", [], "any", false, false, false, 163), [0 => "eom", 1 => "eol"])) ? ("ended on") : ("until"));
echo "</span>
</div>
";
}
// line 166
echo "
<div class=\"metric\">
<span class=\"value config-symfony-eol\">
";
// line 169
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 169, $this->source); })()), "symfonyeol", [], "any", false, false, false, 169), "html", null, true);
echo "
</span>
<span class=\"label\">
";
// line 172
echo ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 172, $this->source); })()), "symfonylts", [], "any", false, false, false, 172)) ? ("Security fixes") : ("Bug fixes and security fixes"));
echo "
";
// line 173
echo ((("eol" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 173, $this->source); })()), "symfonystate", [], "any", false, false, false, 173))) ? ("ended on") : ("until"));
echo "</span>
</div>
</div>
</div>
<a class=\"config-symfony-version-roadmap-link\" href=\"https://symfony.com/releases/";
// line 178
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "symfonyminorversion", [], "any", false, false, false, 178), "html", null, true);
echo "\">View Symfony ";
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "symfonyversion", [], "any", false, false, false, 178), "html", null, true);
echo " release details</a>
<h2>PHP Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 184
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 184, $this->source); })()), "phpversion", [], "any", false, false, false, 184), "html", null, true);
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 184, $this->source); })()), "phpversionextra", [], "any", false, false, false, 184)) {
echo " <span class=\"unit\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 184, $this->source); })()), "phpversionextra", [], "any", false, false, false, 184), "html", null, true);
echo "</span>";
}
echo "</span>
<span class=\"label\">PHP version</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 189
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "phparchitecture", [], "any", false, false, false, 189), "html", null, true);
echo " <span class=\"unit\">bits</span></span>
<span class=\"label\">Architecture</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 194
echo twig_escape_filter($this->env, twig_get_attribute($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); })()), "phpintllocale", [], "any", false, false, false, 194), "html", null, true);
echo "</span>
<span class=\"label\">Intl locale</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 199
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 199, $this->source); })()), "phptimezone", [], "any", false, false, false, 199), "html", null, true);
echo "</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 207
echo (( !twig_get_attribute($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); })()), "haszendopcache", [], "any", false, false, false, 207)) ? ("value-shows-no-color") : (""));
echo "\">";
echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($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); })()), "haszendopcache", [], "any", false, false, false, 207)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">OPcache</span>
</div>
<div class=\"metric\">
<span class=\"value value-is-icon ";
// line 212
echo (( !twig_get_attribute($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); })()), "hasapcu", [], "any", false, false, false, 212)) ? ("value-shows-no-color") : (""));
echo "\">";
echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($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); })()), "hasapcu", [], "any", false, false, false, 212)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">APCu</span>
</div>
<div class=\"metric\">
<span class=\"value value-is-icon ";
// line 217
echo (( !twig_get_attribute($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); })()), "hasxdebug", [], "any", false, false, false, 217)) ? ("value-shows-no-color") : (""));
echo "\">";
echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($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); })()), "hasxdebug", [], "any", false, false, false, 217)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Xdebug</span>
</div>
</div>
</div>
<p>
<a href=\"";
// line 224
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
echo "\">View full PHP configuration</a>
</p>
";
// line 227
if (twig_get_attribute($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); })()), "bundles", [], "any", false, false, false, 227)) {
// line 228
echo " <h2>Enabled Bundles <small>(";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 228, $this->source); })()), "bundles", [], "any", false, false, false, 228)), "html", null, true);
echo ")</small></h2>
<table>
<thead>
<tr>
<th class=\"key\">Name</th>
<th>Class</th>
</tr>
</thead>
<tbody>
";
// line 237
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, twig_get_array_keys_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 237, $this->source); })()), "bundles", [], "any", false, false, false, 237))));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 238
echo " <tr>
<th scope=\"row\" class=\"font-normal\">";
// line 239
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
echo "</th>
<td class=\"font-normal\">";
// line 240
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 240, $this->source); })()), "bundles", [], "any", false, false, false, 240), $context["name"], [], "array", false, false, false, 240));
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 243
echo " </tbody>
</table>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Collector/config.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 597 => 243, 588 => 240, 584 => 239, 581 => 238, 577 => 237, 564 => 228, 562 => 227, 556 => 224, 544 => 217, 534 => 212, 524 => 207, 513 => 199, 505 => 194, 497 => 189, 484 => 184, 473 => 178, 465 => 173, 461 => 172, 455 => 169, 450 => 166, 444 => 163, 439 => 161, 435 => 159, 433 => 158, 423 => 153, 416 => 148, 413 => 147, 411 => 146, 407 => 144, 400 => 140, 397 => 139, 395 => 138, 392 => 137, 385 => 133, 382 => 132, 380 => 131, 374 => 127, 370 => 125, 368 => 124, 363 => 122, 356 => 117, 346 => 116, 332 => 111, 327 => 110, 317 => 109, 305 => 106, 302 => 105, 298 => 103, 282 => 90, 278 => 89, 273 => 86, 271 => 85, 263 => 80, 253 => 75, 246 => 74, 242 => 72, 240 => 71, 233 => 70, 227 => 68, 225 => 67, 216 => 61, 212 => 60, 204 => 59, 197 => 54, 189 => 51, 185 => 49, 183 => 48, 180 => 47, 174 => 44, 170 => 42, 168 => 41, 163 => 38, 157 => 36, 149 => 34, 147 => 33, 141 => 29, 139 => 28, 136 => 27, 131 => 25, 126 => 23, 123 => 22, 121 => 21, 118 => 20, 115 => 19, 112 => 18, 109 => 17, 106 => 16, 103 => 15, 100 => 14, 97 => 13, 94 => 12, 91 => 11, 88 => 10, 85 => 9, 82 => 8, 79 => 7, 76 => 6, 73 => 5, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% 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 %}
<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', block_attrs: 'title=\"' ~ symfony_version_status ~ '\"' }) }}
{% 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' }}\">{{ 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' }}\">{{ 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' }}\">{{ 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", "/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/config.html.twig");
}
}