var/cache/dev/twig/1f/1ffa8325cb7869e5d03d89777b83b69b.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @WebProfiler/Collector/exception.html.twig */
  16. class __TwigTemplate_6f7bc696f2864294ca3dfd0ea195faf6 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'head' => [$this, 'block_head'],
  29. 'menu' => [$this, 'block_menu'],
  30. 'panel' => [$this, 'block_panel'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "@WebProfiler/Profiler/layout.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.html.twig"));
  45. $this->parent = $this->load("@WebProfiler/Profiler/layout.html.twig", 1);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 3
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_head(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  61. // line 4
  62. yield " ";
  63. if ((($tmp = CoreExtension::getAttribute($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)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  64. // line 5
  65. yield " <style>
  66. ";
  67. // line 6
  68. yield $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); })())]));
  69. yield "
  70. ";
  71. // line 7
  72. yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Collector/exception.css.twig");
  73. yield "
  74. </style>
  75. ";
  76. }
  77. // line 10
  78. yield " ";
  79. yield from $this->yieldParentBlock("head", $context, $blocks);
  80. yield "
  81. ";
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84. yield from [];
  85. }
  86. // line 13
  87. /**
  88. * @return iterable<null|scalar|\Stringable>
  89. */
  90. public function block_menu(array $context, array $blocks = []): iterable
  91. {
  92. $macros = $this->macros;
  93. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  95. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  97. // line 14
  98. yield " <span class=\"label ";
  99. yield (((($tmp = CoreExtension::getAttribute($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)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("label-status-error") : ("disabled"));
  100. yield "\">
  101. <span class=\"icon\">";
  102. // line 15
  103. yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Icon/exception.svg");
  104. yield "</span>
  105. <strong>Exception</strong>
  106. ";
  107. // line 17
  108. if ((($tmp = CoreExtension::getAttribute($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)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  109. // line 18
  110. yield " <span class=\"count\">
  111. <span>1</span>
  112. </span>
  113. ";
  114. }
  115. // line 22
  116. yield " </span>
  117. ";
  118. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  119. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  120. yield from [];
  121. }
  122. // line 25
  123. /**
  124. * @return iterable<null|scalar|\Stringable>
  125. */
  126. public function block_panel(array $context, array $blocks = []): iterable
  127. {
  128. $macros = $this->macros;
  129. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  130. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
  131. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  132. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
  133. // line 26
  134. yield " <h2>Exceptions</h2>
  135. ";
  136. // line 28
  137. if ((($tmp = !CoreExtension::getAttribute($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); })()), "hasexception", [], "any", false, false, false, 28)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  138. // line 29
  139. yield " <div class=\"empty\">
  140. <p>No exception was thrown and caught during the request.</p>
  141. </div>
  142. ";
  143. } else {
  144. // line 33
  145. yield " <div class=\"sf-reset\">
  146. ";
  147. // line 34
  148. yield $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.', 34, $this->source); })())]));
  149. yield "
  150. </div>
  151. ";
  152. }
  153. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155. yield from [];
  156. }
  157. /**
  158. * @codeCoverageIgnore
  159. */
  160. public function getTemplateName(): string
  161. {
  162. return "@WebProfiler/Collector/exception.html.twig";
  163. }
  164. /**
  165. * @codeCoverageIgnore
  166. */
  167. public function isTraitable(): bool
  168. {
  169. return false;
  170. }
  171. /**
  172. * @codeCoverageIgnore
  173. */
  174. public function getDebugInfo(): array
  175. {
  176. return array ( 179 => 34, 176 => 33, 170 => 29, 168 => 28, 164 => 26, 151 => 25, 139 => 22, 133 => 18, 131 => 17, 126 => 15, 121 => 14, 108 => 13, 94 => 10, 88 => 7, 84 => 6, 81 => 5, 78 => 4, 65 => 3, 42 => 1,);
  177. }
  178. public function getSourceContext(): Source
  179. {
  180. return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  181. {% block head %}
  182. {% if collector.hasexception %}
  183. <style>
  184. {{ render(controller('web_profiler.controller.exception_panel::stylesheet', { token: token })) }}
  185. {{ include('@WebProfiler/Collector/exception.css.twig') }}
  186. </style>
  187. {% endif %}
  188. {{ parent() }}
  189. {% endblock %}
  190. {% block menu %}
  191. <span class=\"label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}\">
  192. <span class=\"icon\">{{ include('@WebProfiler/Icon/exception.svg') }}</span>
  193. <strong>Exception</strong>
  194. {% if collector.hasexception %}
  195. <span class=\"count\">
  196. <span>1</span>
  197. </span>
  198. {% endif %}
  199. </span>
  200. {% endblock %}
  201. {% block panel %}
  202. <h2>Exceptions</h2>
  203. {% if not collector.hasexception %}
  204. <div class=\"empty\">
  205. <p>No exception was thrown and caught during the request.</p>
  206. </div>
  207. {% else %}
  208. <div class=\"sf-reset\">
  209. {{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }}
  210. </div>
  211. {% endif %}
  212. {% endblock %}
  213. ", "@WebProfiler/Collector/exception.html.twig", "/var/www/html/support.dataflow.care/vendor/symfony/web-profiler-bundle/Resources/views/Collector/exception.html.twig");
  214. }
  215. }