var/cache/dev/twig/90/9061ac7abf906e7b5008b5583a3b71fa.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;/* @WebProfiler/Collector/exception.html.twig */class __TwigTemplate_59b1738773d1013ae1b567f4d946f78e extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['head' => [$this, 'block_head'],'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", "@WebProfiler/Collector/exception.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.html.twig"));$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/exception.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_head($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", "head"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));// 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); })()), "hasexception", [], "any", false, false, false, 4)) {// line 5echo " <style>";// line 6echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.exception_panel::stylesheet", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 6, $this->source); })())]));echo "";// line 7echo twig_include($this->env, $context, "@WebProfiler/Collector/exception.css.twig");echo "</style>";}// line 10echo " ";$this->displayParentBlock("head", $context, $blocks);echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 13public 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 14echo " <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.', 14, $this->source); })()), "hasexception", [], "any", false, false, false, 14)) ? ("label-status-error") : ("disabled"));echo "\"><span class=\"icon\">";// line 15echo twig_source($this->env, "@WebProfiler/Icon/exception.svg");echo "</span><strong>Exception</strong>";// line 17if (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.', 17, $this->source); })()), "hasexception", [], "any", false, false, false, 17)) {// line 18echo " <span class=\"count\"><span>1</span></span>";}// line 22echo " </span>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 25public 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 26echo " ";// line 28echo " <style>.tab-navigation li { background: none; border: 0; font-size: 14px; }.tab-navigation li.active { border-radius: 6px; }.tab-navigation li.active .badge { background-color: var(--selected-badge-background); color: var(--selected-badge-color); }</style><h2>Exceptions</h2>";// line 36if ( !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.', 36, $this->source); })()), "hasexception", [], "any", false, false, false, 36)) {// line 37echo " <div class=\"empty empty-panel\"><p>No exception was thrown and caught during the request.</p></div>";} else {// line 41echo " <div class=\"sf-reset\">";// line 42echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.exception_panel::body", ["token" => (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 42, $this->source); })())]));echo "</div>";}$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "@WebProfiler/Collector/exception.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 171 => 42, 168 => 41, 162 => 37, 160 => 36, 150 => 28, 148 => 26, 138 => 25, 127 => 22, 121 => 18, 119 => 17, 114 => 15, 109 => 14, 99 => 13, 86 => 10, 80 => 7, 76 => 6, 73 => 5, 70 => 4, 60 => 3, 37 => 1,);}public function getSourceContext(){return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}{% block head %}{% if collector.hasexception %}<style>{{ render(controller('web_profiler.controller.exception_panel::stylesheet', { token: token })) }}{{ include('@WebProfiler/Collector/exception.css.twig') }}</style>{% endif %}{{ parent() }}{% endblock %}{% block menu %}<span class=\"label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}\"><span class=\"icon\">{{ source('@WebProfiler/Icon/exception.svg') }}</span><strong>Exception</strong>{% if collector.hasexception %}<span class=\"count\"><span>1</span></span>{% endif %}</span>{% endblock %}{% block panel %}{# these styles are needed to override some styles from Exception page, which wasn'tupdated yet to the new style of the Symfony Profiler #}<style>.tab-navigation li { background: none; border: 0; font-size: 14px; }.tab-navigation li.active { border-radius: 6px; }.tab-navigation li.active .badge { background-color: var(--selected-badge-background); color: var(--selected-badge-color); }</style><h2>Exceptions</h2>{% if not collector.hasexception %}<div class=\"empty empty-panel\"><p>No exception was thrown and caught during the request.</p></div>{% else %}<div class=\"sf-reset\">{{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }}</div>{% endif %}{% endblock %}", "@WebProfiler/Collector/exception.html.twig", "/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/exception.html.twig");}}