Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,415 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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/twig.html.twig */
class __TwigTemplate_bf0c250724fca048d22a02d993ae71144fc86fb5383aacf23f547e7d47d1baa8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/twig.html.twig", 1);
$this->blocks = [
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/twig.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/twig.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_toolbar($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 4
echo " ";
$context["time"] = (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", [])) ? (sprintf("%0.0f", $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "time", []))) : ("n/a"));
// line 5
echo " ";
ob_start();
// line 6
echo " ";
echo twig_include($this->env, $context, "@WebProfiler/Icon/twig.svg");
echo "
<span class=\"sf-toolbar-value\">";
// line 7
echo twig_escape_filter($this->env, ($context["time"] ?? $this->getContext($context, "time")), "html", null, true);
echo "</span>
<span class=\"sf-toolbar-label\">ms</span>
";
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 10
echo "
";
// line 11
ob_start();
// line 12
echo " <div class=\"sf-toolbar-info-piece\">
<b>Render Time</b>
<span>";
// line 14
echo twig_escape_filter($this->env, ($context["time"] ?? $this->getContext($context, "time")), "html", null, true);
echo " ms</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Template Calls</b>
<span class=\"sf-toolbar-status\">";
// line 18
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", []), "html", null, true);
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Block Calls</b>
<span class=\"sf-toolbar-status\">";
// line 22
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "blockcount", []), "html", null, true);
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Macro Calls</b>
<span class=\"sf-toolbar-status\">";
// line 26
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "macrocount", []), "html", null, true);
echo "</span>
</div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 29
echo "
";
// line 30
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => ($context["profiler_url"] ?? $this->getContext($context, "profiler_url"))]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 33
public function block_menu($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 34
echo " <span class=\"label ";
echo (((0 == $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templateCount", []))) ? ("disabled") : (""));
echo "\">
<span class=\"icon\">";
// line 35
echo twig_include($this->env, $context, "@WebProfiler/Icon/twig.svg");
echo "</span>
<strong>Twig</strong>
</span>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 40
public function block_panel($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 41
echo " ";
if (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", []) == 0)) {
// line 42
echo " <h2>Twig</h2>
<div class=\"empty\">
<p>No Twig templates were rendered for this request.</p>
</div>
";
} else {
// line 48
echo " <h2>Twig Metrics</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 52
echo twig_escape_filter($this->env, sprintf("%0.0f", $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "time", [])), "html", null, true);
echo " <span class=\"unit\">ms</span></span>
<span class=\"label\">Render time</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 57
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", []), "html", null, true);
echo "</span>
<span class=\"label\">Template calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 62
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "blockcount", []), "html", null, true);
echo "</span>
<span class=\"label\">Block calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 67
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "macrocount", []), "html", null, true);
echo "</span>
<span class=\"label\">Macro calls</span>
</div>
</div>
<p class=\"help\">
Render time includes sub-requests rendering time (if any).
</p>
<h2>Rendered Templates</h2>
<table>
<thead>
<tr>
<th scope=\"col\">Template Name</th>
<th scope=\"col\">Render Count</th>
</tr>
</thead>
<tbody>
";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templates", []));
foreach ($context['_seq'] as $context["template"] => $context["count"]) {
// line 87
echo " <tr>";
// line 88
$context["file"] = (($this->getAttribute($this->getAttribute(($context["collector"] ?? null), "templatePaths", [], "any", false, true), $context["template"], [], "array", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["collector"] ?? null), "templatePaths", [], "any", false, true), $context["template"], [], "array"), false)) : (false));
// line 89
$context["link"] = ((($context["file"] ?? $this->getContext($context, "file"))) ? ($this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->getFileLink(($context["file"] ?? $this->getContext($context, "file")), 1)) : (false));
// line 90
echo "<td>";
if (($context["link"] ?? $this->getContext($context, "link"))) {
echo "<a href=\"";
echo twig_escape_filter($this->env, ($context["link"] ?? $this->getContext($context, "link")), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["file"] ?? $this->getContext($context, "file")), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["template"], "html", null, true);
echo "</a>";
} else {
echo twig_escape_filter($this->env, $context["template"], "html", null, true);
}
echo "</td>
<td class=\"font-normal\">";
// line 91
echo twig_escape_filter($this->env, $context["count"], "html", null, true);
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['template'], $context['count'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 94
echo " </tbody>
</table>
<h2>Rendering Call Graph</h2>
<div id=\"twig-dump\">
";
// line 100
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "htmlcallgraph", []), "html", null, true);
echo "
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Collector/twig.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 272 => 100, 264 => 94, 255 => 91, 240 => 90, 238 => 89, 236 => 88, 234 => 87, 230 => 86, 208 => 67, 200 => 62, 192 => 57, 184 => 52, 178 => 48, 170 => 42, 167 => 41, 158 => 40, 144 => 35, 139 => 34, 130 => 33, 118 => 30, 115 => 29, 109 => 26, 102 => 22, 95 => 18, 88 => 14, 84 => 12, 82 => 11, 79 => 10, 73 => 7, 68 => 6, 65 => 5, 62 => 4, 53 => 3, 22 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% set time = collector.templatecount ? '%0.0f'|format(collector.time) : 'n/a' %}
{% set icon %}
{{ include('@WebProfiler/Icon/twig.svg') }}
<span class=\"sf-toolbar-value\">{{ time }}</span>
<span class=\"sf-toolbar-label\">ms</span>
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-piece\">
<b>Render Time</b>
<span>{{ time }} ms</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Template Calls</b>
<span class=\"sf-toolbar-status\">{{ collector.templatecount }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Block Calls</b>
<span class=\"sf-toolbar-status\">{{ collector.blockcount }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Macro Calls</b>
<span class=\"sf-toolbar-status\">{{ collector.macrocount }}</span>
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
{% endblock %}
{% block menu %}
<span class=\"label {{ 0 == collector.templateCount ? 'disabled' }}\">
<span class=\"icon\">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
<strong>Twig</strong>
</span>
{% endblock %}
{% block panel %}
{% if collector.templatecount == 0 %}
<h2>Twig</h2>
<div class=\"empty\">
<p>No Twig templates were rendered for this request.</p>
</div>
{% else %}
<h2>Twig Metrics</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ '%0.0f'|format(collector.time) }} <span class=\"unit\">ms</span></span>
<span class=\"label\">Render time</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.templatecount }}</span>
<span class=\"label\">Template calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.blockcount }}</span>
<span class=\"label\">Block calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.macrocount }}</span>
<span class=\"label\">Macro calls</span>
</div>
</div>
<p class=\"help\">
Render time includes sub-requests rendering time (if any).
</p>
<h2>Rendered Templates</h2>
<table>
<thead>
<tr>
<th scope=\"col\">Template Name</th>
<th scope=\"col\">Render Count</th>
</tr>
</thead>
<tbody>
{% for template, count in collector.templates %}
<tr>
{%- set file = collector.templatePaths[template]|default(false) -%}
{%- set link = file ? file|file_link(1) : false -%}
<td>{% if link %}<a href=\"{{ link }}\" title=\"{{ file }}\">{{ template }}</a>{% else %}{{ template }}{% endif %}</td>
<td class=\"font-normal\">{{ count }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>Rendering Call Graph</h2>
<div id=\"twig-dump\">
{{ collector.htmlcallgraph }}
</div>
{% endif %}
{% endblock %}
", "@WebProfiler/Collector/twig.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig");
}
}