init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
375
var/cache/dev/twig/62/62020b80a210947ee1b8e03242846147be32db1867d77872d4ddb66127ddbabf.php
vendored
Normal file
375
var/cache/dev/twig/62/62020b80a210947ee1b8e03242846147be32db1867d77872d4ddb66127ddbabf.php
vendored
Normal file
|
|
@ -0,0 +1,375 @@
|
|||
<?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/twig.html.twig */
|
||||
class __TwigTemplate_eea88e30c760ff4fcb71b128ff0c63b5272bb754d7015d2e600a42dd0f605fdf extends \Twig\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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["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 = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/twig.html.twig", 1);
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 3
|
||||
public function block_toolbar($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
|
||||
|
||||
// line 4
|
||||
echo " ";
|
||||
$context["time"] = ((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); })()), "templatecount", [], "any", false, false, false, 4)) ? (sprintf("%0.0f", 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); })()), "time", [], "any", false, false, false, 4))) : ("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, (isset($context["time"]) || array_key_exists("time", $context) ? $context["time"] : (function () { throw new RuntimeError('Variable "time" does not exist.', 7, $this->source); })()), "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, (isset($context["time"]) || array_key_exists("time", $context) ? $context["time"] : (function () { throw new RuntimeError('Variable "time" does not exist.', 14, $this->source); })()), "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, 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.', 18, $this->source); })()), "templatecount", [], "any", false, false, false, 18), "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, 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.', 22, $this->source); })()), "blockcount", [], "any", false, false, false, 22), "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, 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.', 26, $this->source); })()), "macrocount", [], "any", false, false, false, 26), "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" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 30, $this->source); })())]);
|
||||
echo "
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 33
|
||||
public function block_menu($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["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\">
|
||||
<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);
|
||||
|
||||
}
|
||||
|
||||
// line 40
|
||||
public function block_panel($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
|
||||
|
||||
// line 41
|
||||
echo " ";
|
||||
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.', 41, $this->source); })()), "templatecount", [], "any", false, false, false, 41) == 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", 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.', 52, $this->source); })()), "time", [], "any", false, false, false, 52)), "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, 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.', 57, $this->source); })()), "templatecount", [], "any", false, false, false, 57), "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, 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.', 62, $this->source); })()), "blockcount", [], "any", false, false, false, 62), "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, 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); })()), "macrocount", [], "any", false, false, false, 67), "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(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.', 86, $this->source); })()), "templates", [], "any", false, false, false, 86));
|
||||
foreach ($context['_seq'] as $context["template"] => $context["count"]) {
|
||||
// line 87
|
||||
echo " <tr>
|
||||
<td>";
|
||||
// line 88
|
||||
echo twig_escape_filter($this->env, $context["template"], "html", null, true);
|
||||
echo "</td>
|
||||
<td class=\"font-normal\">";
|
||||
// line 89
|
||||
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 92
|
||||
echo " </tbody>
|
||||
</table>
|
||||
|
||||
<h2>Rendering Call Graph</h2>
|
||||
|
||||
<div id=\"twig-dump\">
|
||||
";
|
||||
// line 98
|
||||
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.', 98, $this->source); })()), "htmlcallgraph", [], "any", false, false, false, 98), "html", null, true);
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@WebProfiler/Collector/twig.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 245 => 98, 237 => 92, 228 => 89, 224 => 88, 221 => 87, 217 => 86, 195 => 67, 187 => 62, 179 => 57, 171 => 52, 165 => 48, 157 => 42, 154 => 41, 147 => 40, 136 => 35, 133 => 34, 126 => 33, 117 => 30, 114 => 29, 108 => 26, 101 => 22, 94 => 18, 87 => 14, 83 => 12, 81 => 11, 78 => 10, 72 => 7, 67 => 6, 64 => 5, 61 => 4, 54 => 3, 37 => 1,);
|
||||
}
|
||||
|
||||
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\">
|
||||
<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>
|
||||
<td>{{ template }}</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", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue