source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Doctrine/Collector/explain.html.twig"));
// line 1
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 1, $this->source); })()), 0, [], "array", false, false, false, 1)) > 1)) {
// line 2
echo " ";
// line 3
echo "
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_array_keys_filter(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 6, $this->source); })()), 0, [], "array", false, false, false, 6)));
foreach ($context['_seq'] as $context["_key"] => $context["label"]) {
// line 7
echo " | ";
echo twig_escape_filter($this->env, $context["label"], "html", null, true);
echo " |
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['label'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 9
echo "
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 12, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 13
echo "
";
// line 14
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["row"]);
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 15
echo " | ";
echo twig_escape_filter($this->env, twig_replace_filter($context["item"], ["," => ", "]), "html", null, true);
echo " |
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 19
echo "
";
} else {
// line 22
echo " ";
// line 23
echo " ";
// line 24
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 24, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 25
echo twig_escape_filter($this->env, twig_first($this->env, $context["row"]), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 27
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@Doctrine/Collector/explain.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 115 => 27, 107 => 25, 103 => 24, 101 => 23, 99 => 22, 94 => 19, 87 => 17, 78 => 15, 74 => 14, 71 => 13, 67 => 12, 62 => 9, 53 => 7, 49 => 6, 44 => 3, 42 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% if data[0]|length > 1 %}
{# The platform returns a table for the explanation (e.g. MySQL), display all columns #}
{% for label in data[0]|keys %}
| {{ label }} |
{% endfor %}
{% for row in data %}
{% for key, item in row %}
| {{ item|replace({',': ', '}) }} |
{% endfor %}
{% endfor %}
{% else %}
{# The Platform returns a single column for a textual explanation (e.g. PostgreSQL), display all lines #}
{%- for row in data -%}
{{ row|first }}{{ \"\\n\" }}
{%- endfor -%}
{% endif %}
", "@Doctrine/Collector/explain.html.twig", "D:\\My Stuff\\DEVELOPMENT\\LaLiga\\LaLiga-BackEnd\\vendor\\doctrine\\doctrine-bundle\\Resources\\views\\Collector\\explain.html.twig");
}
}