417 lines
20 KiB
PHP
417 lines
20 KiB
PHP
<?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;
|
|
|
|
/* @Debug/Profiler/dump.html.twig */
|
|
class __TwigTemplate_4a52219b1a46600dc5e60aec959eb9ce2a9bba99ab617af8599955eda2895497 extends \Twig\Template
|
|
{
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
// line 1
|
|
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@Debug/Profiler/dump.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", "@Debug/Profiler/dump.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", "@Debug/Profiler/dump.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 " ";
|
|
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "dumpsCount", [])) {
|
|
// line 5
|
|
echo " ";
|
|
ob_start();
|
|
// line 6
|
|
echo " ";
|
|
echo twig_include($this->env, $context, "@Debug/Profiler/icon.svg");
|
|
echo "
|
|
<span class=\"sf-toolbar-value\">";
|
|
// line 7
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "dumpsCount", []), "html", null, true);
|
|
echo "</span>
|
|
";
|
|
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 9
|
|
echo "
|
|
";
|
|
// line 10
|
|
ob_start();
|
|
// line 11
|
|
echo " ";
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "getDumps", [0 => "html"], "method"));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["dump"]) {
|
|
// line 12
|
|
echo " <div class=\"sf-toolbar-info-piece\">
|
|
<span>
|
|
";
|
|
// line 14
|
|
if ($this->getAttribute($context["dump"], "file", [])) {
|
|
// line 15
|
|
echo " ";
|
|
$context["link"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->getFileLink($this->getAttribute($context["dump"], "file", []), $this->getAttribute($context["dump"], "line", []));
|
|
// line 16
|
|
echo " ";
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
// line 17
|
|
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, $this->getAttribute($context["dump"], "file", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "</a>
|
|
";
|
|
} else {
|
|
// line 19
|
|
echo " <abbr title=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "file", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "</abbr>
|
|
";
|
|
}
|
|
// line 21
|
|
echo " ";
|
|
} else {
|
|
// line 22
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "
|
|
";
|
|
}
|
|
// line 24
|
|
echo " </span>
|
|
<span class=\"sf-toolbar-file-line\">line ";
|
|
// line 25
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "line", []), "html", null, true);
|
|
echo "</span>
|
|
|
|
";
|
|
// line 27
|
|
echo $this->getAttribute($context["dump"], "data", []);
|
|
echo "
|
|
</div>
|
|
";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dump'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 30
|
|
echo " ";
|
|
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 31
|
|
echo "
|
|
";
|
|
// line 32
|
|
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true]);
|
|
echo "
|
|
";
|
|
}
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 36
|
|
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 37
|
|
echo " <span class=\"label ";
|
|
echo ((($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "dumpsCount", []) == 0)) ? ("disabled") : (""));
|
|
echo "\">
|
|
<span class=\"icon\">";
|
|
// line 38
|
|
echo twig_include($this->env, $context, "@Debug/Profiler/icon.svg");
|
|
echo "</span>
|
|
<strong>Debug</strong>
|
|
</span>
|
|
";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 43
|
|
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 44
|
|
echo " <h2>Dumped Contents</h2>
|
|
|
|
";
|
|
// line 46
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "getDumps", [0 => "html"], "method"));
|
|
$context['_iterated'] = false;
|
|
$context['loop'] = [
|
|
'parent' => $context['_parent'],
|
|
'index0' => 0,
|
|
'index' => 1,
|
|
'first' => true,
|
|
];
|
|
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
|
$length = count($context['_seq']);
|
|
$context['loop']['revindex0'] = $length - 1;
|
|
$context['loop']['revindex'] = $length;
|
|
$context['loop']['length'] = $length;
|
|
$context['loop']['last'] = 1 === $length;
|
|
}
|
|
foreach ($context['_seq'] as $context["_key"] => $context["dump"]) {
|
|
// line 47
|
|
echo " <div class=\"sf-dump sf-reset\">
|
|
<span class=\"metadata\">In
|
|
";
|
|
// line 49
|
|
if ($this->getAttribute($context["dump"], "line", [])) {
|
|
// line 50
|
|
echo " ";
|
|
$context["link"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->getFileLink($this->getAttribute($context["dump"], "file", []), $this->getAttribute($context["dump"], "line", []));
|
|
// line 51
|
|
echo " ";
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
// line 52
|
|
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, $this->getAttribute($context["dump"], "file", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "</a>
|
|
";
|
|
} else {
|
|
// line 54
|
|
echo " <abbr title=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "file", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "</abbr>
|
|
";
|
|
}
|
|
// line 56
|
|
echo " ";
|
|
} else {
|
|
// line 57
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "name", []), "html", null, true);
|
|
echo "
|
|
";
|
|
}
|
|
// line 59
|
|
echo " line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index0", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["dump"], "line", []), "html", null, true);
|
|
echo "</a>:
|
|
</span>
|
|
|
|
<div class=\"sf-dump-compact hidden\" id=\"sf-trace-";
|
|
// line 62
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index0", []), "html", null, true);
|
|
echo "\">
|
|
<div class=\"trace\">
|
|
";
|
|
// line 64
|
|
echo (($this->getAttribute($context["dump"], "fileExcerpt", [])) ? ($this->getAttribute($context["dump"], "fileExcerpt", [])) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->fileExcerpt($this->getAttribute($context["dump"], "file", []), $this->getAttribute($context["dump"], "line", []))));
|
|
echo "
|
|
</div>
|
|
</div>
|
|
|
|
";
|
|
// line 68
|
|
echo $this->getAttribute($context["dump"], "data", []);
|
|
echo "
|
|
</div>
|
|
";
|
|
$context['_iterated'] = true;
|
|
++$context['loop']['index0'];
|
|
++$context['loop']['index'];
|
|
$context['loop']['first'] = false;
|
|
if (isset($context['loop']['length'])) {
|
|
--$context['loop']['revindex0'];
|
|
--$context['loop']['revindex'];
|
|
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
|
}
|
|
}
|
|
if (!$context['_iterated']) {
|
|
// line 71
|
|
echo " <div class=\"empty\">
|
|
<p>No content was dumped.</p>
|
|
</div>
|
|
";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dump'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "@Debug/Profiler/dump.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 298 => 71, 282 => 68, 275 => 64, 270 => 62, 261 => 59, 255 => 57, 252 => 56, 244 => 54, 234 => 52, 231 => 51, 228 => 50, 226 => 49, 222 => 47, 204 => 46, 200 => 44, 191 => 43, 177 => 38, 172 => 37, 163 => 36, 150 => 32, 147 => 31, 144 => 30, 135 => 27, 130 => 25, 127 => 24, 121 => 22, 118 => 21, 110 => 19, 100 => 17, 97 => 16, 94 => 15, 92 => 14, 88 => 12, 83 => 11, 81 => 10, 78 => 9, 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 %}
|
|
{% if collector.dumpsCount %}
|
|
{% set icon %}
|
|
{{ include('@Debug/Profiler/icon.svg') }}
|
|
<span class=\"sf-toolbar-value\">{{ collector.dumpsCount }}</span>
|
|
{% endset %}
|
|
|
|
{% set text %}
|
|
{% for dump in collector.getDumps('html') %}
|
|
<div class=\"sf-toolbar-info-piece\">
|
|
<span>
|
|
{% if dump.file %}
|
|
{% set link = dump.file|file_link(dump.line) %}
|
|
{% if link %}
|
|
<a href=\"{{ link }}\" title=\"{{ dump.file }}\">{{ dump.name }}</a>
|
|
{% else %}
|
|
<abbr title=\"{{ dump.file }}\">{{ dump.name }}</abbr>
|
|
{% endif %}
|
|
{% else %}
|
|
{{ dump.name }}
|
|
{% endif %}
|
|
</span>
|
|
<span class=\"sf-toolbar-file-line\">line {{ dump.line }}</span>
|
|
|
|
{{ dump.data|raw }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endset %}
|
|
|
|
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': true }) }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block menu %}
|
|
<span class=\"label {{ collector.dumpsCount == 0 ? 'disabled' }}\">
|
|
<span class=\"icon\">{{ include('@Debug/Profiler/icon.svg') }}</span>
|
|
<strong>Debug</strong>
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<h2>Dumped Contents</h2>
|
|
|
|
{% for dump in collector.getDumps('html') %}
|
|
<div class=\"sf-dump sf-reset\">
|
|
<span class=\"metadata\">In
|
|
{% if dump.line %}
|
|
{% set link = dump.file|file_link(dump.line) %}
|
|
{% if link %}
|
|
<a href=\"{{ link }}\" title=\"{{ dump.file }}\">{{ dump.name }}</a>
|
|
{% else %}
|
|
<abbr title=\"{{ dump.file }}\">{{ dump.name }}</abbr>
|
|
{% endif %}
|
|
{% else %}
|
|
{{ dump.name }}
|
|
{% endif %}
|
|
line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ loop.index0 }}\">{{ dump.line }}</a>:
|
|
</span>
|
|
|
|
<div class=\"sf-dump-compact hidden\" id=\"sf-trace-{{ loop.index0 }}\">
|
|
<div class=\"trace\">
|
|
{{ dump.fileExcerpt ? dump.fileExcerpt|raw : dump.file|file_excerpt(dump.line) }}
|
|
</div>
|
|
</div>
|
|
|
|
{{ dump.data|raw }}
|
|
</div>
|
|
{% else %}
|
|
<div class=\"empty\">
|
|
<p>No content was dumped.</p>
|
|
</div>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
", "@Debug/Profiler/dump.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/DebugBundle/Resources/views/Profiler/dump.html.twig");
|
|
}
|
|
}
|