init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
997
var/cache/dev/twig/3e/3ef3aa2311dc37cc91551035001bb58ced3178a1e244b138e00aec9c0560ffbc.php
vendored
Normal file
997
var/cache/dev/twig/3e/3ef3aa2311dc37cc91551035001bb58ced3178a1e244b138e00aec9c0560ffbc.php
vendored
Normal file
|
|
@ -0,0 +1,997 @@
|
|||
<?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/request.html.twig */
|
||||
class __TwigTemplate_8dd3aaf697e7a05b69b18c0e8bed3779f4cc31790daf0245d48ac056343fa33d 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/request.html.twig"));
|
||||
|
||||
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/request.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 " ";
|
||||
ob_start();
|
||||
// line 5
|
||||
echo " ";
|
||||
$macros["helper"] = $this;
|
||||
// line 6
|
||||
echo " ";
|
||||
echo twig_call_macro($macros["helper"], "macro_set_handler", [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.', 6, $this->source); })()), "controller", [], "any", false, false, false, 6)], 6, $context, $this->getSourceContext());
|
||||
echo "
|
||||
";
|
||||
$context["request_handler"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 8
|
||||
echo "
|
||||
";
|
||||
// line 9
|
||||
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.', 9, $this->source); })()), "redirect", [], "any", false, false, false, 9)) {
|
||||
// line 10
|
||||
echo " ";
|
||||
ob_start();
|
||||
// line 11
|
||||
echo " ";
|
||||
$macros["helper"] = $this;
|
||||
// line 12
|
||||
echo " ";
|
||||
echo twig_call_macro($macros["helper"], "macro_set_handler", [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.', 12, $this->source); })()), "redirect", [], "any", false, false, false, 12), "controller", [], "any", false, false, false, 12), 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.', 12, $this->source); })()), "redirect", [], "any", false, false, false, 12), "route", [], "any", false, false, false, 12), ((("GET" != 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.', 12, $this->source); })()), "redirect", [], "any", false, false, false, 12), "method", [], "any", false, false, false, 12))) ? (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.', 12, $this->source); })()), "redirect", [], "any", false, false, false, 12), "method", [], "any", false, false, false, 12)) : (""))], 12, $context, $this->getSourceContext());
|
||||
echo "
|
||||
";
|
||||
$context["redirect_handler"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 14
|
||||
echo " ";
|
||||
}
|
||||
// line 15
|
||||
echo "
|
||||
";
|
||||
// line 16
|
||||
if (((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "forward", [], "any", true, true, false, 16)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "forward", [], "any", false, false, false, 16), false)) : (false))) {
|
||||
// line 17
|
||||
echo " ";
|
||||
ob_start();
|
||||
// line 18
|
||||
echo " ";
|
||||
$macros["helper"] = $this;
|
||||
// line 19
|
||||
echo " ";
|
||||
echo twig_call_macro($macros["helper"], "macro_set_handler", [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.', 19, $this->source); })()), "forward", [], "any", false, false, false, 19), "controller", [], "any", false, false, false, 19)], 19, $context, $this->getSourceContext());
|
||||
echo "
|
||||
";
|
||||
$context["forward_handler"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 21
|
||||
echo " ";
|
||||
}
|
||||
// line 22
|
||||
echo "
|
||||
";
|
||||
// line 23
|
||||
$context["request_status_code_color"] = (((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.', 23, $this->source); })()), "statuscode", [], "any", false, false, false, 23) >= 400)) ? ("red") : ((((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.', 23, $this->source); })()), "statuscode", [], "any", false, false, false, 23) >= 300)) ? ("yellow") : ("green"))));
|
||||
// line 24
|
||||
echo "
|
||||
";
|
||||
// line 25
|
||||
ob_start();
|
||||
// line 26
|
||||
echo " <span class=\"sf-toolbar-status sf-toolbar-status-";
|
||||
echo twig_escape_filter($this->env, (isset($context["request_status_code_color"]) || array_key_exists("request_status_code_color", $context) ? $context["request_status_code_color"] : (function () { throw new RuntimeError('Variable "request_status_code_color" does not exist.', 26, $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.', 26, $this->source); })()), "statuscode", [], "any", false, false, false, 26), "html", null, true);
|
||||
echo "</span>
|
||||
";
|
||||
// line 27
|
||||
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.', 27, $this->source); })()), "route", [], "any", false, false, false, 27)) {
|
||||
// line 28
|
||||
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.', 28, $this->source); })()), "redirect", [], "any", false, false, false, 28)) {
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Icon/redirect.svg");
|
||||
}
|
||||
// line 29
|
||||
echo " ";
|
||||
if (((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "forward", [], "any", true, true, false, 29)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "forward", [], "any", false, false, false, 29), false)) : (false))) {
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Icon/forward.svg");
|
||||
}
|
||||
// line 30
|
||||
echo " <span class=\"sf-toolbar-label\">";
|
||||
((("GET" != 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.', 30, $this->source); })()), "method", [], "any", false, false, false, 30))) ? (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.', 30, $this->source); })()), "method", [], "any", false, false, false, 30), "html", null, true))) : (print ("")));
|
||||
echo " @</span>
|
||||
<span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">";
|
||||
// line 31
|
||||
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.', 31, $this->source); })()), "route", [], "any", false, false, false, 31), "html", null, true);
|
||||
echo "</span>
|
||||
";
|
||||
}
|
||||
// line 33
|
||||
echo " ";
|
||||
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 34
|
||||
echo "
|
||||
";
|
||||
// line 35
|
||||
ob_start();
|
||||
// line 36
|
||||
echo " <div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>HTTP status</b>
|
||||
<span>";
|
||||
// line 39
|
||||
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.', 39, $this->source); })()), "statuscode", [], "any", false, false, false, 39), "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.', 39, $this->source); })()), "statustext", [], "any", false, false, false, 39), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 42
|
||||
if (("GET" != 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.', 42, $this->source); })()), "method", [], "any", false, false, false, 42))) {
|
||||
// line 43
|
||||
echo "<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Method</b>
|
||||
<span>";
|
||||
// line 45
|
||||
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.', 45, $this->source); })()), "method", [], "any", false, false, false, 45), "html", null, true);
|
||||
echo "</span>
|
||||
</div>";
|
||||
}
|
||||
// line 48
|
||||
echo "
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Controller</b>
|
||||
<span>";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, (isset($context["request_handler"]) || array_key_exists("request_handler", $context) ? $context["request_handler"] : (function () { throw new RuntimeError('Variable "request_handler" does not exist.', 51, $this->source); })()), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 54
|
||||
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "controller", [], "any", false, true, false, 54), "class", [], "any", true, true, false, 54)) {
|
||||
// line 55
|
||||
echo "<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Controller class</b>
|
||||
<span>";
|
||||
// line 57
|
||||
echo twig_escape_filter($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.', 57, $this->source); })()), "controller", [], "any", false, false, false, 57), "class", [], "any", false, false, false, 57), "html", null, true);
|
||||
echo "</span>
|
||||
</div>";
|
||||
}
|
||||
// line 60
|
||||
echo "
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Route name</b>
|
||||
<span>";
|
||||
// line 63
|
||||
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "route", [], "any", true, true, false, 63)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "route", [], "any", false, false, false, 63), "NONE")) : ("NONE")), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Has session</b>
|
||||
<span>";
|
||||
// line 68
|
||||
if (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.', 68, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 68))) {
|
||||
echo "yes";
|
||||
} else {
|
||||
echo "no";
|
||||
}
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 72
|
||||
if ((isset($context["redirect_handler"]) || array_key_exists("redirect_handler", $context))) {
|
||||
// line 73
|
||||
echo "<div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>
|
||||
<span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">";
|
||||
// line 76
|
||||
echo twig_escape_filter($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.', 76, $this->source); })()), "redirect", [], "any", false, false, false, 76), "status_code", [], "any", false, false, false, 76), "html", null, true);
|
||||
echo "</span>
|
||||
Redirect from
|
||||
</b>
|
||||
<span>
|
||||
";
|
||||
// line 80
|
||||
echo twig_escape_filter($this->env, (isset($context["redirect_handler"]) || array_key_exists("redirect_handler", $context) ? $context["redirect_handler"] : (function () { throw new RuntimeError('Variable "redirect_handler" does not exist.', 80, $this->source); })()), "html", null, true);
|
||||
echo "
|
||||
(<a href=\"";
|
||||
// line 81
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => 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.', 81, $this->source); })()), "redirect", [], "any", false, false, false, 81), "token", [], "any", false, false, false, 81)]), "html", null, true);
|
||||
echo "\">";
|
||||
echo twig_escape_filter($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.', 81, $this->source); })()), "redirect", [], "any", false, false, false, 81), "token", [], "any", false, false, false, 81), "html", null, true);
|
||||
echo "</a>)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 86
|
||||
echo "
|
||||
";
|
||||
// line 87
|
||||
if ((isset($context["forward_handler"]) || array_key_exists("forward_handler", $context))) {
|
||||
// line 88
|
||||
echo " <div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Forwarded to</b>
|
||||
<span>
|
||||
";
|
||||
// line 92
|
||||
echo twig_escape_filter($this->env, (isset($context["forward_handler"]) || array_key_exists("forward_handler", $context) ? $context["forward_handler"] : (function () { throw new RuntimeError('Variable "forward_handler" does not exist.', 92, $this->source); })()), "html", null, true);
|
||||
echo "
|
||||
(<a href=\"";
|
||||
// line 93
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => 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.', 93, $this->source); })()), "forward", [], "any", false, false, false, 93), "token", [], "any", false, false, false, 93)]), "html", null, true);
|
||||
echo "\">";
|
||||
echo twig_escape_filter($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.', 93, $this->source); })()), "forward", [], "any", false, false, false, 93), "token", [], "any", false, false, false, 93), "html", null, true);
|
||||
echo "</a>)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 98
|
||||
echo " ";
|
||||
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
// line 99
|
||||
echo "
|
||||
";
|
||||
// line 100
|
||||
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.', 100, $this->source); })())]);
|
||||
echo "
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 103
|
||||
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 104
|
||||
echo " <span class=\"label\">
|
||||
<span class=\"icon\">";
|
||||
// line 105
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Icon/request.svg");
|
||||
echo "</span>
|
||||
<strong>Request / Response</strong>
|
||||
</span>
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 110
|
||||
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 111
|
||||
echo " <div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Request</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>GET Parameters</h3>
|
||||
|
||||
";
|
||||
// line 118
|
||||
if (twig_test_empty(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.', 118, $this->source); })()), "requestquery", [], "any", false, false, false, 118), "all", [], "any", false, false, false, 118))) {
|
||||
// line 119
|
||||
echo " <div class=\"empty\">
|
||||
<p>No GET parameters</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 123
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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.', 123, $this->source); })()), "requestquery", [], "any", false, false, false, 123)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 125
|
||||
echo "
|
||||
<h3>POST Parameters</h3>
|
||||
|
||||
";
|
||||
// line 128
|
||||
if (twig_test_empty(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.', 128, $this->source); })()), "requestrequest", [], "any", false, false, false, 128), "all", [], "any", false, false, false, 128))) {
|
||||
// line 129
|
||||
echo " <div class=\"empty\">
|
||||
<p>No POST parameters</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 133
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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); })()), "requestrequest", [], "any", false, false, false, 133)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 135
|
||||
echo "
|
||||
<h3>Request Attributes</h3>
|
||||
|
||||
";
|
||||
// line 138
|
||||
if (twig_test_empty(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.', 138, $this->source); })()), "requestattributes", [], "any", false, false, false, 138), "all", [], "any", false, false, false, 138))) {
|
||||
// line 139
|
||||
echo " <div class=\"empty\">
|
||||
<p>No attributes</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 143
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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.', 143, $this->source); })()), "requestattributes", [], "any", false, false, false, 143)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 145
|
||||
echo "
|
||||
<h3>Cookies</h3>
|
||||
|
||||
";
|
||||
// line 148
|
||||
if (twig_test_empty(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.', 148, $this->source); })()), "requestcookies", [], "any", false, false, false, 148), "all", [], "any", false, false, false, 148))) {
|
||||
// line 149
|
||||
echo " <div class=\"empty\">
|
||||
<p>No cookies</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 153
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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); })()), "requestcookies", [], "any", false, false, false, 153)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 155
|
||||
echo "
|
||||
<h3>Request Headers</h3>
|
||||
";
|
||||
// line 157
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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.', 157, $this->source); })()), "requestheaders", [], "any", false, false, false, 157), "labels" => [0 => "Header", 1 => "Value"]], false);
|
||||
echo "
|
||||
|
||||
<h3>Request Content</h3>
|
||||
|
||||
";
|
||||
// line 161
|
||||
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.', 161, $this->source); })()), "content", [], "any", false, false, false, 161) == false)) {
|
||||
// line 162
|
||||
echo " <div class=\"empty\">
|
||||
<p>Request content not available (it was retrieved as a resource).</p>
|
||||
</div>
|
||||
";
|
||||
} elseif (twig_get_attribute($this->env, $this->source, // line 165
|
||||
(isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 165, $this->source); })()), "content", [], "any", false, false, false, 165)) {
|
||||
// line 166
|
||||
echo " <div class=\"card\">
|
||||
<pre class=\"break-long-words\">";
|
||||
// line 167
|
||||
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.', 167, $this->source); })()), "content", [], "any", false, false, false, 167), "html", null, true);
|
||||
echo "</pre>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 170
|
||||
echo " <div class=\"empty\">
|
||||
<p>No content</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 174
|
||||
echo "
|
||||
<h3>Server Parameters</h3>
|
||||
";
|
||||
// line 176
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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.', 176, $this->source); })()), "requestserver", [], "any", false, false, false, 176)], false);
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Response</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Response Headers</h3>
|
||||
|
||||
";
|
||||
// line 186
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => 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.', 186, $this->source); })()), "responseheaders", [], "any", false, false, false, 186), "labels" => [0 => "Header", 1 => "Value"]], false);
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab ";
|
||||
// line 190
|
||||
echo ((twig_test_empty(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.', 190, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 190))) ? ("disabled") : (""));
|
||||
echo "\">
|
||||
<h3 class=\"tab-title\">Session</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Session Metadata</h3>
|
||||
|
||||
";
|
||||
// line 196
|
||||
if (twig_test_empty(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.', 196, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 196))) {
|
||||
// line 197
|
||||
echo " <div class=\"empty\">
|
||||
<p>No session metadata</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 201
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => 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.', 201, $this->source); })()), "sessionmetadata", [], "any", false, false, false, 201)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 203
|
||||
echo "
|
||||
<h3>Session Attributes</h3>
|
||||
|
||||
";
|
||||
// line 206
|
||||
if (twig_test_empty(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.', 206, $this->source); })()), "sessionattributes", [], "any", false, false, false, 206))) {
|
||||
// line 207
|
||||
echo " <div class=\"empty\">
|
||||
<p>No session attributes</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 211
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => 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.', 211, $this->source); })()), "sessionattributes", [], "any", false, false, false, 211), "labels" => [0 => "Attribute", 1 => "Value"]], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 213
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab ";
|
||||
// line 216
|
||||
echo ((twig_test_empty(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.', 216, $this->source); })()), "flashes", [], "any", false, false, false, 216))) ? ("disabled") : (""));
|
||||
echo "\">
|
||||
<h3 class=\"tab-title\">Flashes</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Flashes</h3>
|
||||
|
||||
";
|
||||
// line 222
|
||||
if (twig_test_empty(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.', 222, $this->source); })()), "flashes", [], "any", false, false, false, 222))) {
|
||||
// line 223
|
||||
echo " <div class=\"empty\">
|
||||
<p>No flash messages were created.</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 227
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/table.html.twig", ["data" => 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); })()), "flashes", [], "any", false, false, false, 227)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 229
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 232
|
||||
if (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 232, $this->source); })()), "parent", [], "any", false, false, false, 232)) {
|
||||
// line 233
|
||||
echo " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Parent Request</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>
|
||||
<a href=\"";
|
||||
// line 238
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 238, $this->source); })()), "parent", [], "any", false, false, false, 238), "token", [], "any", false, false, false, 238)]), "html", null, true);
|
||||
echo "\">Return to parent request</a>
|
||||
<small>(token = ";
|
||||
// line 239
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 239, $this->source); })()), "parent", [], "any", false, false, false, 239), "token", [], "any", false, false, false, 239), "html", null, true);
|
||||
echo ")</small>
|
||||
</h3>
|
||||
|
||||
";
|
||||
// line 242
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 242, $this->source); })()), "parent", [], "any", false, false, false, 242), "getcollector", [0 => "request"], "method", false, false, false, 242), "requestattributes", [], "any", false, false, false, 242)], false);
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 246
|
||||
echo "
|
||||
";
|
||||
// line 247
|
||||
if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 247, $this->source); })()), "children", [], "any", false, false, false, 247))) {
|
||||
// line 248
|
||||
echo " <div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Sub Requests <span class=\"badge\">";
|
||||
// line 249
|
||||
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 249, $this->source); })()), "children", [], "any", false, false, false, 249)), "html", null, true);
|
||||
echo "</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 252
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 252, $this->source); })()), "children", [], "any", false, false, false, 252));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
||||
// line 253
|
||||
echo " <h3>
|
||||
<a href=\"";
|
||||
// line 254
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env, $this->source, $context["child"], "token", [], "any", false, false, false, 254)]), "html", null, true);
|
||||
echo "\">";
|
||||
// line 255
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "getcollector", [0 => "request"], "method", false, false, false, 255), "requestattributes", [], "any", false, false, false, 255), "get", [0 => "_controller"], "method", false, false, false, 255), "html", null, true);
|
||||
// line 256
|
||||
echo "</a>
|
||||
<small>(token = ";
|
||||
// line 257
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "token", [], "any", false, false, false, 257), "html", null, true);
|
||||
echo ")</small>
|
||||
</h3>
|
||||
|
||||
";
|
||||
// line 260
|
||||
echo twig_include($this->env, $context, "@WebProfiler/Profiler/bag.html.twig", ["bag" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "getcollector", [0 => "request"], "method", false, false, false, 260), "requestattributes", [], "any", false, false, false, 260)], false);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 262
|
||||
echo " </div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 265
|
||||
echo " </div>
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 268
|
||||
public function macro_set_handler($__controller__ = null, $__route__ = null, $__method__ = null, ...$__varargs__)
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$context = $this->env->mergeGlobals([
|
||||
"controller" => $__controller__,
|
||||
"route" => $__route__,
|
||||
"method" => $__method__,
|
||||
"varargs" => $__varargs__,
|
||||
]);
|
||||
|
||||
$blocks = [];
|
||||
|
||||
ob_start();
|
||||
try {
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "set_handler"));
|
||||
|
||||
// line 269
|
||||
echo " ";
|
||||
if (twig_get_attribute($this->env, $this->source, ($context["controller"] ?? null), "class", [], "any", true, true, false, 269)) {
|
||||
// line 270
|
||||
if ((((isset($context["method"]) || array_key_exists("method", $context))) ? (_twig_default_filter((isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 270, $this->source); })()), false)) : (false))) {
|
||||
echo "<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">";
|
||||
echo twig_escape_filter($this->env, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 270, $this->source); })()), "html", null, true);
|
||||
echo "</span>";
|
||||
}
|
||||
// line 271
|
||||
$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 271, $this->source); })()), "file", [], "any", false, false, false, 271), twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 271, $this->source); })()), "line", [], "any", false, false, false, 271));
|
||||
// line 272
|
||||
if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 272, $this->source); })())) {
|
||||
echo "<a href=\"";
|
||||
echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 272, $this->source); })()), "html", null, true);
|
||||
echo "\" title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 272, $this->source); })()), "file", [], "any", false, false, false, 272), "html", null, true);
|
||||
echo "\">";
|
||||
} else {
|
||||
echo "<span>";
|
||||
}
|
||||
// line 274
|
||||
if ((((isset($context["route"]) || array_key_exists("route", $context))) ? (_twig_default_filter((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 274, $this->source); })()), false)) : (false))) {
|
||||
// line 275
|
||||
echo "@";
|
||||
echo twig_escape_filter($this->env, (isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 275, $this->source); })()), "html", null, true);
|
||||
} else {
|
||||
// line 277
|
||||
echo twig_escape_filter($this->env, strip_tags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 277, $this->source); })()), "class", [], "any", false, false, false, 277))), "html", null, true);
|
||||
// line 278
|
||||
((twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 278, $this->source); })()), "method", [], "any", false, false, false, 278)) ? (print (twig_escape_filter($this->env, (" :: " . twig_get_attribute($this->env, $this->source, (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 278, $this->source); })()), "method", [], "any", false, false, false, 278)), "html", null, true))) : (print ("")));
|
||||
}
|
||||
// line 281
|
||||
if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 281, $this->source); })())) {
|
||||
echo "</a>";
|
||||
} else {
|
||||
echo "</span>";
|
||||
}
|
||||
} else {
|
||||
// line 283
|
||||
echo "<span>";
|
||||
echo twig_escape_filter($this->env, (((isset($context["route"]) || array_key_exists("route", $context))) ? (_twig_default_filter((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 283, $this->source); })()), (isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 283, $this->source); })()))) : ((isset($context["controller"]) || array_key_exists("controller", $context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.', 283, $this->source); })()))), "html", null, true);
|
||||
echo "</span>";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
|
||||
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
|
||||
} finally {
|
||||
ob_end_clean();
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@WebProfiler/Collector/request.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 679 => 283, 672 => 281, 669 => 278, 667 => 277, 663 => 275, 661 => 274, 651 => 272, 649 => 271, 643 => 270, 640 => 269, 622 => 268, 614 => 265, 609 => 262, 601 => 260, 595 => 257, 592 => 256, 590 => 255, 587 => 254, 584 => 253, 580 => 252, 574 => 249, 571 => 248, 569 => 247, 566 => 246, 559 => 242, 553 => 239, 549 => 238, 542 => 233, 540 => 232, 535 => 229, 529 => 227, 523 => 223, 521 => 222, 512 => 216, 507 => 213, 501 => 211, 495 => 207, 493 => 206, 488 => 203, 482 => 201, 476 => 197, 474 => 196, 465 => 190, 458 => 186, 445 => 176, 441 => 174, 435 => 170, 429 => 167, 426 => 166, 424 => 165, 419 => 162, 417 => 161, 410 => 157, 406 => 155, 400 => 153, 394 => 149, 392 => 148, 387 => 145, 381 => 143, 375 => 139, 373 => 138, 368 => 135, 362 => 133, 356 => 129, 354 => 128, 349 => 125, 343 => 123, 337 => 119, 335 => 118, 326 => 111, 319 => 110, 308 => 105, 305 => 104, 298 => 103, 289 => 100, 286 => 99, 283 => 98, 273 => 93, 269 => 92, 263 => 88, 261 => 87, 258 => 86, 248 => 81, 244 => 80, 237 => 76, 232 => 73, 230 => 72, 219 => 68, 211 => 63, 206 => 60, 201 => 57, 197 => 55, 195 => 54, 189 => 51, 184 => 48, 179 => 45, 175 => 43, 173 => 42, 165 => 39, 160 => 36, 158 => 35, 155 => 34, 152 => 33, 147 => 31, 142 => 30, 137 => 29, 132 => 28, 130 => 27, 123 => 26, 121 => 25, 118 => 24, 116 => 23, 113 => 22, 110 => 21, 104 => 19, 101 => 18, 98 => 17, 96 => 16, 93 => 15, 90 => 14, 84 => 12, 81 => 11, 78 => 10, 76 => 9, 73 => 8, 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 request_handler %}
|
||||
{% import _self as helper %}
|
||||
{{ helper.set_handler(collector.controller) }}
|
||||
{% endset %}
|
||||
|
||||
{% if collector.redirect %}
|
||||
{% set redirect_handler %}
|
||||
{% import _self as helper %}
|
||||
{{ helper.set_handler(collector.redirect.controller, collector.redirect.route, 'GET' != collector.redirect.method ? collector.redirect.method) }}
|
||||
{% endset %}
|
||||
{% endif %}
|
||||
|
||||
{% if collector.forward|default(false) %}
|
||||
{% set forward_handler %}
|
||||
{% import _self as helper %}
|
||||
{{ helper.set_handler(collector.forward.controller) }}
|
||||
{% endset %}
|
||||
{% endif %}
|
||||
|
||||
{% set request_status_code_color = (collector.statuscode >= 400) ? 'red' : (collector.statuscode >= 300) ? 'yellow' : 'green' %}
|
||||
|
||||
{% set icon %}
|
||||
<span class=\"sf-toolbar-status sf-toolbar-status-{{ request_status_code_color }}\">{{ collector.statuscode }}</span>
|
||||
{% if collector.route %}
|
||||
{% if collector.redirect %}{{ include('@WebProfiler/Icon/redirect.svg') }}{% endif %}
|
||||
{% if collector.forward|default(false) %}{{ include('@WebProfiler/Icon/forward.svg') }}{% endif %}
|
||||
<span class=\"sf-toolbar-label\">{{ 'GET' != collector.method ? collector.method }} @</span>
|
||||
<span class=\"sf-toolbar-value sf-toolbar-info-piece-additional\">{{ collector.route }}</span>
|
||||
{% endif %}
|
||||
{% endset %}
|
||||
|
||||
{% set text %}
|
||||
<div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>HTTP status</b>
|
||||
<span>{{ collector.statuscode }} {{ collector.statustext }}</span>
|
||||
</div>
|
||||
|
||||
{% if 'GET' != collector.method -%}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Method</b>
|
||||
<span>{{ collector.method }}</span>
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Controller</b>
|
||||
<span>{{ request_handler }}</span>
|
||||
</div>
|
||||
|
||||
{% if collector.controller.class is defined -%}
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Controller class</b>
|
||||
<span>{{ collector.controller.class }}</span>
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Route name</b>
|
||||
<span>{{ collector.route|default('NONE') }}</span>
|
||||
</div>
|
||||
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Has session</b>
|
||||
<span>{% if collector.sessionmetadata|length %}yes{% else %}no{% endif %}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if redirect_handler is defined -%}
|
||||
<div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>
|
||||
<span class=\"sf-toolbar-redirection-status sf-toolbar-status-yellow\">{{ collector.redirect.status_code }}</span>
|
||||
Redirect from
|
||||
</b>
|
||||
<span>
|
||||
{{ redirect_handler }}
|
||||
(<a href=\"{{ path('_profiler', { token: collector.redirect.token }) }}\">{{ collector.redirect.token }}</a>)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if forward_handler is defined %}
|
||||
<div class=\"sf-toolbar-info-group\">
|
||||
<div class=\"sf-toolbar-info-piece\">
|
||||
<b>Forwarded to</b>
|
||||
<span>
|
||||
{{ forward_handler }}
|
||||
(<a href=\"{{ path('_profiler', { token: collector.forward.token }) }}\">{{ collector.forward.token }}</a>)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endset %}
|
||||
|
||||
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
<span class=\"label\">
|
||||
<span class=\"icon\">{{ include('@WebProfiler/Icon/request.svg') }}</span>
|
||||
<strong>Request / Response</strong>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<div class=\"sf-tabs\">
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Request</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>GET Parameters</h3>
|
||||
|
||||
{% if collector.requestquery.all is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No GET parameters</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestquery }, with_context = false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>POST Parameters</h3>
|
||||
|
||||
{% if collector.requestrequest.all is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No POST parameters</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestrequest }, with_context = false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Request Attributes</h3>
|
||||
|
||||
{% if collector.requestattributes.all is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No attributes</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestattributes }, with_context = false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Cookies</h3>
|
||||
|
||||
{% if collector.requestcookies.all is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No cookies</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestcookies }, with_context = false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Request Headers</h3>
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestheaders, labels: ['Header', 'Value'] }, with_context = false) }}
|
||||
|
||||
<h3>Request Content</h3>
|
||||
|
||||
{% if collector.content == false %}
|
||||
<div class=\"empty\">
|
||||
<p>Request content not available (it was retrieved as a resource).</p>
|
||||
</div>
|
||||
{% elseif collector.content %}
|
||||
<div class=\"card\">
|
||||
<pre class=\"break-long-words\">{{ collector.content }}</pre>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class=\"empty\">
|
||||
<p>No content</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h3>Server Parameters</h3>
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestserver }, with_context = false) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Response</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Response Headers</h3>
|
||||
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.responseheaders, labels: ['Header', 'Value'] }, with_context = false) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab {{ collector.sessionmetadata is empty ? 'disabled' }}\">
|
||||
<h3 class=\"tab-title\">Session</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Session Metadata</h3>
|
||||
|
||||
{% if collector.sessionmetadata is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No session metadata</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionmetadata }, with_context = false) }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Session Attributes</h3>
|
||||
|
||||
{% if collector.sessionattributes is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No session attributes</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.sessionattributes, labels: ['Attribute', 'Value'] }, with_context = false) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"tab {{ collector.flashes is empty ? 'disabled' }}\">
|
||||
<h3 class=\"tab-title\">Flashes</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>Flashes</h3>
|
||||
|
||||
{% if collector.flashes is empty %}
|
||||
<div class=\"empty\">
|
||||
<p>No flash messages were created.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.flashes }, with_context = false) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if profile.parent %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Parent Request</h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<h3>
|
||||
<a href=\"{{ path('_profiler', { token: profile.parent.token }) }}\">Return to parent request</a>
|
||||
<small>(token = {{ profile.parent.token }})</small>
|
||||
</h3>
|
||||
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: profile.parent.getcollector('request').requestattributes }, with_context = false) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if profile.children|length %}
|
||||
<div class=\"tab\">
|
||||
<h3 class=\"tab-title\">Sub Requests <span class=\"badge\">{{ profile.children|length }}</span></h3>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
{% for child in profile.children %}
|
||||
<h3>
|
||||
<a href=\"{{ path('_profiler', { token: child.token }) }}\">
|
||||
{{- child.getcollector('request').requestattributes.get('_controller') -}}
|
||||
</a>
|
||||
<small>(token = {{ child.token }})</small>
|
||||
</h3>
|
||||
|
||||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: child.getcollector('request').requestattributes }, with_context = false) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% macro set_handler(controller, route, method) %}
|
||||
{% if controller.class is defined -%}
|
||||
{%- if method|default(false) %}<span class=\"sf-toolbar-status sf-toolbar-redirection-method\">{{ method }}</span>{% endif -%}
|
||||
{%- set link = controller.file|file_link(controller.line) %}
|
||||
{%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.file }}\">{% else %}<span>{% endif %}
|
||||
|
||||
{%- if route|default(false) -%}
|
||||
@{{ route }}
|
||||
{%- else -%}
|
||||
{{- controller.class|abbr_class|striptags -}}
|
||||
{{- controller.method ? ' :: ' ~ controller.method -}}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if link %}</a>{% else %}</span>{% endif %}
|
||||
{%- else -%}
|
||||
<span>{{ route|default(controller) }}</span>
|
||||
{%- endif %}
|
||||
{% endmacro %}
|
||||
", "@WebProfiler/Collector/request.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue