Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,404 @@
<?php
/* @WebProfiler/Collector/twig.html.twig */
class __TwigTemplate_133c59334f1aa53fccb4e811ead4738e16c7a307e206afe11aec239d79682354 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/twig.html.twig", 1);
$this->blocks = array(
'toolbar' => array($this, 'block_toolbar'),
'menu' => array($this, 'block_menu'),
'panel' => array($this, 'block_panel'),
);
}
protected function doGetParent(array $context)
{
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_b868d04cc3f33615920b4cdeef7a2eaf9426995a61cae83b87b2a1db44b27def = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_b868d04cc3f33615920b4cdeef7a2eaf9426995a61cae83b87b2a1db44b27def->enter($__internal_b868d04cc3f33615920b4cdeef7a2eaf9426995a61cae83b87b2a1db44b27def_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/twig.html.twig"));
$__internal_2269b0ce564b7edb2b389b0692e1354b2877e77ccb7feed1f23d60ae11b8d6e6 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_2269b0ce564b7edb2b389b0692e1354b2877e77ccb7feed1f23d60ae11b8d6e6->enter($__internal_2269b0ce564b7edb2b389b0692e1354b2877e77ccb7feed1f23d60ae11b8d6e6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/twig.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b868d04cc3f33615920b4cdeef7a2eaf9426995a61cae83b87b2a1db44b27def->leave($__internal_b868d04cc3f33615920b4cdeef7a2eaf9426995a61cae83b87b2a1db44b27def_prof);
$__internal_2269b0ce564b7edb2b389b0692e1354b2877e77ccb7feed1f23d60ae11b8d6e6->leave($__internal_2269b0ce564b7edb2b389b0692e1354b2877e77ccb7feed1f23d60ae11b8d6e6_prof);
}
// line 3
public function block_toolbar($context, array $blocks = array())
{
$__internal_50814117d932168533894354550279f67cc566249f06e9f96b4fc6f9b7b5152f = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_50814117d932168533894354550279f67cc566249f06e9f96b4fc6f9b7b5152f->enter($__internal_50814117d932168533894354550279f67cc566249f06e9f96b4fc6f9b7b5152f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_dcdb73238c3be12aafa36d14a4de5316ee3c9f628e94ff918cb65f22008212d7 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_dcdb73238c3be12aafa36d14a4de5316ee3c9f628e94ff918cb65f22008212d7->enter($__internal_dcdb73238c3be12aafa36d14a4de5316ee3c9f628e94ff918cb65f22008212d7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "toolbar"));
// line 4
echo " ";
$context["time"] = (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", array())) ? (sprintf("%0.0f", $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "time", array()))) : ("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 Twig_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", array()), "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", array()), "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", array()), "html", null, true);
echo "</span>
</div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 29
echo "
";
// line 30
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", array("link" => ($context["profiler_url"] ?? $this->getContext($context, "profiler_url"))));
echo "
";
$__internal_dcdb73238c3be12aafa36d14a4de5316ee3c9f628e94ff918cb65f22008212d7->leave($__internal_dcdb73238c3be12aafa36d14a4de5316ee3c9f628e94ff918cb65f22008212d7_prof);
$__internal_50814117d932168533894354550279f67cc566249f06e9f96b4fc6f9b7b5152f->leave($__internal_50814117d932168533894354550279f67cc566249f06e9f96b4fc6f9b7b5152f_prof);
}
// line 33
public function block_menu($context, array $blocks = array())
{
$__internal_b06106d49a9bb00bfa5cb44a555abecb6f51580776605943449fb1be7cdd636f = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_b06106d49a9bb00bfa5cb44a555abecb6f51580776605943449fb1be7cdd636f->enter($__internal_b06106d49a9bb00bfa5cb44a555abecb6f51580776605943449fb1be7cdd636f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
$__internal_b76c7c51b45f1c5c117b424d5944b08a130590e38d6b5fceabc86611aacab1f0 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_b76c7c51b45f1c5c117b424d5944b08a130590e38d6b5fceabc86611aacab1f0->enter($__internal_b76c7c51b45f1c5c117b424d5944b08a130590e38d6b5fceabc86611aacab1f0_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", array()))) ? ("disabled") : (""));
echo "\">
<span class=\"icon\">";
// line 35
echo twig_include($this->env, $context, "@WebProfiler/Icon/twig.svg");
echo "</span>
<strong>Twig</strong>
</span>
";
$__internal_b76c7c51b45f1c5c117b424d5944b08a130590e38d6b5fceabc86611aacab1f0->leave($__internal_b76c7c51b45f1c5c117b424d5944b08a130590e38d6b5fceabc86611aacab1f0_prof);
$__internal_b06106d49a9bb00bfa5cb44a555abecb6f51580776605943449fb1be7cdd636f->leave($__internal_b06106d49a9bb00bfa5cb44a555abecb6f51580776605943449fb1be7cdd636f_prof);
}
// line 40
public function block_panel($context, array $blocks = array())
{
$__internal_f8cf5d3055d5c1854c16e4e0693f632d6419a1e30d96f1cc9c05270c90961289 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_f8cf5d3055d5c1854c16e4e0693f632d6419a1e30d96f1cc9c05270c90961289->enter($__internal_f8cf5d3055d5c1854c16e4e0693f632d6419a1e30d96f1cc9c05270c90961289_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panel"));
$__internal_8d914fc673b0cdcecc3c77dcd362fe868462753cb892210c38142d7b673f3f31 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_8d914fc673b0cdcecc3c77dcd362fe868462753cb892210c38142d7b673f3f31->enter($__internal_8d914fc673b0cdcecc3c77dcd362fe868462753cb892210c38142d7b673f3f31_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panel"));
// line 41
echo " ";
if (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "templatecount", array()) == 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", array())), "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", array()), "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", array()), "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", array()), "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", array()));
foreach ($context['_seq'] as $context["template"] => $context["count"]) {
// line 87
echo " <tr>";
// line 88
$context["file"] = (($this->getAttribute($this->getAttribute(($context["collector"] ?? null), "templatePaths", array(), "any", false, true), $context["template"], array(), "array", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["collector"] ?? null), "templatePaths", array(), "any", false, true), $context["template"], array(), "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", array()), "html", null, true);
echo "
</div>
";
}
$__internal_8d914fc673b0cdcecc3c77dcd362fe868462753cb892210c38142d7b673f3f31->leave($__internal_8d914fc673b0cdcecc3c77dcd362fe868462753cb892210c38142d7b673f3f31_prof);
$__internal_f8cf5d3055d5c1854c16e4e0693f632d6419a1e30d96f1cc9c05270c90961289->leave($__internal_f8cf5d3055d5c1854c16e4e0693f632d6419a1e30d96f1cc9c05270c90961289_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Collector/twig.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 261 => 100, 253 => 94, 244 => 91, 229 => 90, 227 => 89, 225 => 88, 223 => 87, 219 => 86, 197 => 67, 189 => 62, 181 => 57, 173 => 52, 167 => 48, 159 => 42, 156 => 41, 147 => 40, 133 => 35, 128 => 34, 119 => 33, 107 => 30, 104 => 29, 98 => 26, 91 => 22, 84 => 18, 77 => 14, 73 => 12, 71 => 11, 68 => 10, 62 => 7, 57 => 6, 54 => 5, 51 => 4, 42 => 3, 11 => 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 Twig_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", "/var/www/clients/client1/web14/web/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig");
}
}