/app/cache/dev/twig/c0/3b/66aec85f9b36f54b6eefa05104fe44c46916c1998be6c40a8786fd423b54.php
PHP | 216 lines | 165 code | 19 blank | 32 comment | 11 complexity | e39aa3e3b6aaa89c3b4cc178991f3c85 MD5 | raw file
Possible License(s): BSD-3-Clause
- <?php
- /* @WebProfiler/Collector/events.html.twig */
- class __TwigTemplate_c03b66aec85f9b36f54b6eefa05104fe44c46916c1998be6c40a8786fd423b54 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->parent = $this->env->loadTemplate("@WebProfiler/Profiler/layout.html.twig");
- $this->blocks = array(
- 'menu' => array($this, 'block_menu'),
- 'panel' => array($this, 'block_panel'),
- 'panelContent' => array($this, 'block_panelContent'),
- );
- }
- protected function doGetParent(array $context)
- {
- return "@WebProfiler/Profiler/layout.html.twig";
- }
- protected function doDisplay(array $context, array $blocks = array())
- {
- // line 3
- $context["__internal_7745b8b8e29aefee02a7ac71bcaa8c3e56f78cb9c7ce2be573e56c717195a540"] = $this;
- $this->parent->display($context, array_merge($this->blocks, $blocks));
- }
- // line 5
- public function block_menu($context, array $blocks = array())
- {
- // line 6
- echo "<span class=\"label\">
- <span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAiCAQAAADragGFAAAD60lEQVR42o2UfUxbVRjGb7fy4ah2QwdECSgjEpcYUP8hmtiWljbt+Gih62zGVqBjXkqgVcYQKzNLJF1HBxt0S9YMgqHVLt1oZRqidcpcgQ1dMpkxgyVK2NSYyWTAJoPB4/1g0iLQnZub+348v3vOPe95L/FogFO+pbBMbtPmgEsEDXC1OXJbYVn5FnBoPwg4wVfVCc7J3WRToxoxIbmYRjXZJHcLzqnqTvAZkEUsSfI2iddxCHtR8LkIvBCIR0UKsNdxSOKVt1mSwGGQ87GKNk3ncO1ARdFxkU/qxMYQaKPUKfIVHR+oGK7VdCrazsdSGKJKqsW+oRqnMcu7s91Td02FuBAo7prKU7ezPcvrNA7ViH0l1Ygi/Kmiz+y2H3Tirvqj0PvLqk09ieAsfW1PYrXJXwZ9/VFx11Vda2OW159KmEvFvkkdadvunN19oEbYrXSczMD6/6D1JzOUDmH3gZrZ3dudpG1SJ/aZSwnSuqsDebIz9oZBtbC7/SDykATu0oZTXl77QWH3oNreIDuD3F0dpJXoU3sMU9nG5ku6lop8N9RIAw9ccqvGoDGQWymIR0XUqk+PVF0qNjZPZXsMfWoCKUijrky8Qt0KyuIiWtMqnBdAAOG8phXRVORFKvM6rWC0KQQiqfAG8PEUnkY8ZUVW7hdg6arcTyk2UJlnKAWfsqIRSSwfSFDeDIaUN5FAhBtIlz4IhqQPkB4eytROBEPaCWQ+xkyu3mDI1fs4Mz33dUsw9KUdieGhzVXf0GIF8hmoPIC4sNBEmuweLbbca56kn9kzI+ngrIkgosHMLqu/90c/a31oQVSYxemu0ELNDCph0E0z+3cd8WshnMAb4jlaqP/rjuwPWelt2hYtfCHFutWhJ95vXTw8v6l/yh3dNyphPJMLMatDz6rHaJHhnwsXJQ+33R/z1d6l/dxxJK+GrHMVsvOUTOdNX+ztvKycaLnORo6Vg7sy9GRVFyspnhp2wIDKs+6cGTay5wI2rQj9nbpt8dTtuzVM4gW89JVlB7V/a1QLEUeMrEBDNaDkfvHht07TrVi/eObrrStUC7H6AJ0smH848MnPWUzn5swM9qNHzyxRO4KE/1XoRoZklk5aRy/bdX8KIJ8XLwhQ+ut3H526ylbLk7OsWogy29hlkL+LKPEHd25f+WXIdJf+T7xzQ8RkjG7wljW5duRRM+yYDvThMIpQjGP+79mtWKzW8yEV8snp9wsgWzh1a64De/Ay+NiEV0HOdXw8plhgsaaKoGohxuSigxKM9cOMN7GZTSIC8ZT33vi3BczG6AOIXYKS85mj+e443kYKokO/FsnQWUeZl84OvUZX618UFpIDvqMM6gAAAABJRU5ErkJggg==\" alt=\"Events\"></span>
- <strong>Events</strong>
- </span>
- ";
- }
- // line 12
- public function block_panel($context, array $blocks = array())
- {
- // line 13
- echo " ";
- if (twig_length_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "calledlisteners"))) {
- // line 14
- echo " ";
- $this->displayBlock("panelContent", $context, $blocks);
- echo "
- ";
- } else {
- // line 16
- echo " <h2>Events</h2>
- <p>
- <em>No events have been recorded. Are you sure that debugging is enabled in the kernel?</em>
- </p>
- ";
- }
- }
- // line 23
- public function block_panelContent($context, array $blocks = array())
- {
- // line 24
- echo " <h2>Called Listeners</h2>
- <table>
- <tr>
- <th>Event name</th>
- <th>Listener</th>
- </tr>
- ";
- // line 31
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "calledlisteners"));
- foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
- // line 32
- echo " <tr>
- <td><code>";
- // line 33
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "event"), "html", null, true);
- echo "</code></td>
- <td><code>";
- // line 34
- echo $context["__internal_7745b8b8e29aefee02a7ac71bcaa8c3e56f78cb9c7ce2be573e56c717195a540"]->getdisplay_listener((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")));
- echo "</code></td>
- </tr>
- ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 37
- echo " </table>
- ";
- // line 39
- if ($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "notcalledlisteners")) {
- // line 40
- echo " <h2>Not Called Listeners</h2>
- <table>
- <tr>
- <th>Event name</th>
- <th>Listener</th>
- </tr>
- ";
- // line 47
- $context["listeners"] = $this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "notcalledlisteners");
- // line 48
- echo " ";
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter((isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")))));
- foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
- // line 49
- echo " <tr>
- <td><code>";
- // line 50
- echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")), (isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), array(), "array"), "event"), "html", null, true);
- echo "</code></td>
- <td><code>";
- // line 51
- echo $context["__internal_7745b8b8e29aefee02a7ac71bcaa8c3e56f78cb9c7ce2be573e56c717195a540"]->getdisplay_listener($this->getAttribute((isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")), (isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), array(), "array"));
- echo "</code></td>
- </tr>
- ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 54
- echo " </table>
- ";
- }
- }
- // line 58
- public function getdisplay_listener($_listener = null)
- {
- $context = $this->env->mergeGlobals(array(
- "listener" => $_listener,
- ));
- $blocks = array();
- ob_start();
- try {
- // line 59
- echo " ";
- if (($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "type") == "Closure")) {
- // line 60
- echo " Closure
- ";
- } elseif (($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "type") == "Function")) {
- // line 62
- echo " ";
- $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "file"), $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "line"));
- // line 63
- echo " ";
- if ((isset($context["link"]) ? $context["link"] : $this->getContext($context, "link"))) {
- echo "<a href=\"";
- echo twig_escape_filter($this->env, (isset($context["link"]) ? $context["link"] : $this->getContext($context, "link")), "html", null, true);
- echo "\">";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "function"), "html", null, true);
- echo "</a>";
- } else {
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "function"), "html", null, true);
- }
- // line 64
- echo " ";
- } elseif (($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "type") == "Method")) {
- // line 65
- echo " ";
- $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "file"), $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "line"));
- // line 66
- echo " ";
- echo $this->env->getExtension('code')->abbrClass($this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "class"));
- echo "::";
- if ((isset($context["link"]) ? $context["link"] : $this->getContext($context, "link"))) {
- echo "<a href=\"";
- echo twig_escape_filter($this->env, (isset($context["link"]) ? $context["link"] : $this->getContext($context, "link")), "html", null, true);
- echo "\">";
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "method"), "html", null, true);
- echo "</a>";
- } else {
- echo twig_escape_filter($this->env, $this->getAttribute((isset($context["listener"]) ? $context["listener"] : $this->getContext($context, "listener")), "method"), "html", null, true);
- }
- // line 67
- echo " ";
- }
- } catch (Exception $e) {
- ob_end_clean();
- throw $e;
- }
- return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
- }
- public function getTemplateName()
- {
- return "@WebProfiler/Collector/events.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 161 => 63, 158 => 62, 154 => 60, 151 => 59, 140 => 58, 125 => 51, 121 => 50, 118 => 49, 100 => 39, 87 => 34, 49 => 14, 46 => 13, 27 => 3, 91 => 33, 88 => 32, 63 => 18, 389 => 160, 386 => 159, 378 => 157, 371 => 156, 367 => 155, 363 => 153, 358 => 151, 353 => 149, 345 => 147, 343 => 146, 340 => 145, 334 => 141, 331 => 140, 328 => 139, 326 => 138, 321 => 135, 309 => 129, 307 => 128, 302 => 125, 296 => 121, 293 => 120, 290 => 119, 288 => 118, 283 => 115, 281 => 114, 276 => 111, 274 => 110, 269 => 107, 265 => 105, 259 => 103, 255 => 101, 253 => 100, 235 => 89, 232 => 88, 227 => 86, 222 => 83, 210 => 77, 208 => 76, 189 => 66, 184 => 63, 175 => 65, 170 => 56, 166 => 54, 163 => 53, 155 => 47, 152 => 46, 144 => 42, 127 => 35, 109 => 27, 94 => 21, 82 => 28, 76 => 31, 61 => 17, 39 => 6, 36 => 5, 79 => 18, 72 => 13, 69 => 12, 54 => 22, 47 => 8, 42 => 7, 40 => 11, 37 => 10, 22 => 1, 164 => 58, 157 => 56, 145 => 46, 139 => 45, 131 => 42, 120 => 31, 115 => 39, 111 => 47, 108 => 37, 106 => 36, 101 => 33, 98 => 32, 92 => 29, 83 => 33, 80 => 32, 74 => 14, 66 => 11, 60 => 6, 55 => 16, 52 => 12, 50 => 14, 41 => 8, 32 => 5, 29 => 6, 462 => 202, 453 => 199, 449 => 198, 446 => 197, 441 => 196, 439 => 195, 431 => 189, 429 => 188, 422 => 184, 415 => 180, 408 => 176, 401 => 172, 394 => 168, 387 => 164, 380 => 158, 373 => 156, 361 => 152, 355 => 150, 351 => 141, 348 => 140, 342 => 137, 338 => 135, 335 => 134, 329 => 131, 325 => 129, 323 => 128, 320 => 127, 315 => 131, 312 => 130, 303 => 122, 300 => 121, 298 => 120, 289 => 113, 286 => 112, 278 => 106, 275 => 105, 270 => 102, 267 => 101, 262 => 98, 256 => 96, 248 => 97, 246 => 96, 241 => 93, 233 => 87, 229 => 87, 226 => 84, 220 => 81, 216 => 79, 213 => 78, 207 => 75, 203 => 73, 200 => 72, 197 => 69, 194 => 68, 191 => 67, 185 => 66, 181 => 65, 178 => 66, 176 => 63, 172 => 64, 168 => 61, 165 => 60, 162 => 57, 156 => 58, 153 => 56, 150 => 55, 147 => 43, 141 => 51, 134 => 54, 130 => 46, 123 => 41, 119 => 40, 116 => 39, 113 => 48, 105 => 25, 102 => 40, 99 => 23, 96 => 37, 90 => 20, 84 => 24, 81 => 23, 73 => 24, 70 => 15, 67 => 24, 64 => 23, 59 => 14, 53 => 12, 45 => 9, 43 => 12, 38 => 6, 35 => 6, 33 => 4, 30 => 3,);
- }
- }