var/cache/dev/twig/16/164de7cfb6c13d9937b2e8ec75c55247.php line 50
<?phpuse 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;/* @Debug/Profiler/dump.html.twig */class __TwigTemplate_41f95fafe1952b9fd136e3a570b80fdc extends 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 1return "@WebProfiler/Profiler/layout.html.twig";}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Debug/Profiler/dump.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Debug/Profiler/dump.html.twig"));$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@Debug/Profiler/dump.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3public function block_toolbar($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));// line 4echo " ";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.', 4, $this->source); })()), "dumpsCount", [], "any", false, false, false, 4)) {// line 5echo " ";ob_start();// line 6echo " ";echo twig_source($this->env, "@Debug/Profiler/icon.svg");echo "<span class=\"sf-toolbar-value\">";// line 7echo 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.', 7, $this->source); })()), "dumpsCount", [], "any", false, false, false, 7), "html", null, true);echo "</span>";$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 9echo "";// line 10ob_start();// line 11echo " ";$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.', 11, $this->source); })()), "getDumps", [0 => "html"], "method", false, false, false, 11));foreach ($context['_seq'] as $context["_key"] => $context["dump"]) {// line 12echo " <div class=\"sf-toolbar-info-piece\"><span>";// line 14if (twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 14)) {// line 15echo " ";$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 15), twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 15));// line 16echo " ";if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 16, $this->source); })())) {// line 17echo " <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.', 17, $this->source); })()), "html", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 17), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 17), "html", null, true);echo "</a>";} else {// line 19echo " <abbr title=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 19), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 19), "html", null, true);echo "</abbr>";}// line 21echo " ";} else {// line 22echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 22), "html", null, true);echo "";}// line 24echo " </span><span class=\"sf-toolbar-file-line\">line ";// line 25echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 25), "html", null, true);echo "</span>";// line 27echo twig_get_attribute($this->env, $this->source, $context["dump"], "data", [], "any", false, false, false, 27);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 30echo " ";$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 31echo "";// line 32echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true]);echo "";}$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 36public function block_menu($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));// line 37echo " <span class=\"label ";echo (((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.', 37, $this->source); })()), "dumpsCount", [], "any", false, false, false, 37) == 0)) ? ("disabled") : (""));echo "\"><span class=\"icon\">";// line 38echo twig_source($this->env, "@Debug/Profiler/icon.svg");echo "</span><strong>Debug</strong></span>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 43public function block_panel($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));// line 44echo " <h2>Dumped Contents</h2>";// line 46$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.', 46, $this->source); })()), "getDumps", [0 => "html"], "method", false, false, false, 46));$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 47echo " <div class=\"sf-dump sf-reset\"><span class=\"metadata\">In";// line 49if (twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 49)) {// line 50echo " ";$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 50), twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 50));// line 51echo " ";if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 51, $this->source); })())) {// line 52echo " <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.', 52, $this->source); })()), "html", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 52), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 52), "html", null, true);echo "</a>";} else {// line 54echo " <abbr title=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 54), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 54), "html", null, true);echo "</abbr>";}// line 56echo " ";} else {// line 57echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "name", [], "any", false, false, false, 57), "html", null, true);echo "";}// line 59echo " line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 59), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 59), "html", null, true);echo "</a>:</span><div class=\"sf-dump-compact hidden\" id=\"sf-trace-";// line 62echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 62), "html", null, true);echo "\"><div class=\"trace\">";// line 64echo ((twig_get_attribute($this->env, $this->source, $context["dump"], "fileExcerpt", [], "any", false, false, false, 64)) ? (twig_get_attribute($this->env, $this->source, $context["dump"], "fileExcerpt", [], "any", false, false, false, 64)) : ($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->fileExcerpt(twig_get_attribute($this->env, $this->source, $context["dump"], "file", [], "any", false, false, false, 64), twig_get_attribute($this->env, $this->source, $context["dump"], "line", [], "any", false, false, false, 64))));echo "</div></div>";// line 68echo twig_get_attribute($this->env, $this->source, $context["dump"], "data", [], "any", false, false, false, 68);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 71echo " <div class=\"empty empty-panel\"><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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "@Debug/Profiler/dump.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 308 => 71, 292 => 68, 285 => 64, 280 => 62, 271 => 59, 265 => 57, 262 => 56, 254 => 54, 244 => 52, 241 => 51, 238 => 50, 236 => 49, 232 => 47, 214 => 46, 210 => 44, 200 => 43, 186 => 38, 181 => 37, 171 => 36, 158 => 32, 155 => 31, 152 => 30, 143 => 27, 138 => 25, 135 => 24, 129 => 22, 126 => 21, 118 => 19, 108 => 17, 105 => 16, 102 => 15, 100 => 14, 96 => 12, 91 => 11, 89 => 10, 86 => 9, 81 => 7, 76 => 6, 73 => 5, 70 => 4, 60 => 3, 37 => 1,);}public function getSourceContext(){return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}{% block toolbar %}{% if collector.dumpsCount %}{% set icon %}{{ source('@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\">{{ source('@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 empty-panel\"><p>No content was dumped.</p></div>{% endfor %}{% endblock %}", "@Debug/Profiler/dump.html.twig", "/home/bestofi/bestof/vendor/symfony/debug-bundle/Resources/views/Profiler/dump.html.twig");}}