PageRenderTime 47ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/parivartree260614/parivartree/app/cache/dev/twig/3f/95/2db3490ac21fc78d1980d178a7d3d187195c6bec21b975e12cf6a9168237.php

https://github.com/roopalidudalkar/parivartree
PHP | 229 lines | 175 code | 21 blank | 33 comment | 13 complexity | a3bc5661fd3bca5f56404925326bd217 MD5 | raw file
  1. <?php
  2. /* WebProfilerBundle:Collector:events.html.twig */
  3. class __TwigTemplate_3f952db3490ac21fc78d1980d178a7d3d187195c6bec21b975e12cf6a9168237 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = $this->env->loadTemplate("@WebProfiler/Profiler/layout.html.twig");
  9. $this->blocks = array(
  10. 'menu' => array($this, 'block_menu'),
  11. 'panel' => array($this, 'block_panel'),
  12. 'panelContent' => array($this, 'block_panelContent'),
  13. );
  14. }
  15. protected function doGetParent(array $context)
  16. {
  17. return "@WebProfiler/Profiler/layout.html.twig";
  18. }
  19. protected function doDisplay(array $context, array $blocks = array())
  20. {
  21. // line 3
  22. $context["__internal_d20b8fd60f519386060a3b30990b65d412b7fe5dbb1f62bc863d627f71a2289a"] = $this;
  23. $this->parent->display($context, array_merge($this->blocks, $blocks));
  24. }
  25. // line 5
  26. public function block_menu($context, array $blocks = array())
  27. {
  28. // line 6
  29. echo "<span class=\"label\">
  30. <span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAiCAQAAADragGFAAAD60lEQVR42o2UfUxbVRjGb7fy4ah2QwdECSgjEpcYUP8hmtiWljbt+Gih62zGVqBjXkqgVcYQKzNLJF1HBxt0S9YMgqHVLt1oZRqidcpcgQ1dMpkxgyVK2NSYyWTAJoPB4/1g0iLQnZub+348v3vOPe95L/FogFO+pbBMbtPmgEsEDXC1OXJbYVn5FnBoPwg4wVfVCc7J3WRToxoxIbmYRjXZJHcLzqnqTvAZkEUsSfI2iddxCHtR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84OvUZX618UFpIDvqMM6gAAAABJRU5ErkJggg==\" alt=\"Events\"></span>
  31. <strong>Events</strong>
  32. </span>
  33. ";
  34. }
  35. // line 12
  36. public function block_panel($context, array $blocks = array())
  37. {
  38. // line 13
  39. echo " ";
  40. if (twig_length_filter($this->env, $this->getAttribute($this->getContext($context, "collector"), "calledlisteners"))) {
  41. // line 14
  42. echo " ";
  43. $this->displayBlock("panelContent", $context, $blocks);
  44. echo "
  45. ";
  46. } else {
  47. // line 16
  48. echo " <h2>Events</h2>
  49. <p>
  50. <em>No events have been recorded. Are you sure that debugging is enabled in the kernel?</em>
  51. </p>
  52. ";
  53. }
  54. }
  55. // line 23
  56. public function block_panelContent($context, array $blocks = array())
  57. {
  58. // line 24
  59. echo " <h2>Called Listeners</h2>
  60. <table>
  61. <tr>
  62. <th>Event name</th>
  63. <th>Listener</th>
  64. </tr>
  65. ";
  66. // line 31
  67. $context['_parent'] = (array) $context;
  68. $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "collector"), "calledlisteners"));
  69. foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
  70. // line 32
  71. echo " <tr>
  72. <td><code>";
  73. // line 33
  74. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "event"), "html", null, true);
  75. echo "</code></td>
  76. <td><code>";
  77. // line 34
  78. echo $context["__internal_d20b8fd60f519386060a3b30990b65d412b7fe5dbb1f62bc863d627f71a2289a"]->getdisplay_listener($this->getContext($context, "listener"));
  79. echo "</code></td>
  80. </tr>
  81. ";
  82. }
  83. $_parent = $context['_parent'];
  84. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
  85. $context = array_intersect_key($context, $_parent) + $_parent;
  86. // line 37
  87. echo " </table>
  88. <h2>Not Called Listeners</h2>
  89. ";
  90. // line 41
  91. if ($this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners")) {
  92. // line 42
  93. echo " <table>
  94. <tr>
  95. <th>Event name</th>
  96. <th>Listener</th>
  97. </tr>
  98. ";
  99. // line 47
  100. $context["listeners"] = $this->getAttribute($this->getContext($context, "collector"), "notcalledlisteners");
  101. // line 48
  102. echo " ";
  103. $context['_parent'] = (array) $context;
  104. $context['_seq'] = twig_ensure_traversable(twig_sort_filter(twig_get_array_keys_filter($this->getContext($context, "listeners"))));
  105. foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
  106. // line 49
  107. echo " <tr>
  108. <td><code>";
  109. // line 50
  110. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"), "event"), "html", null, true);
  111. echo "</code></td>
  112. <td><code>";
  113. // line 51
  114. echo $context["__internal_d20b8fd60f519386060a3b30990b65d412b7fe5dbb1f62bc863d627f71a2289a"]->getdisplay_listener($this->getAttribute($this->getContext($context, "listeners"), $this->getContext($context, "listener"), array(), "array"));
  115. echo "</code></td>
  116. </tr>
  117. ";
  118. }
  119. $_parent = $context['_parent'];
  120. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
  121. $context = array_intersect_key($context, $_parent) + $_parent;
  122. // line 54
  123. echo " </table>
  124. ";
  125. } else {
  126. // line 56
  127. echo " <p>
  128. <strong>No uncalled listeners</strong>.
  129. </p>
  130. <p>
  131. All listeners were called for this request or an error occurred
  132. when trying to collect uncalled listeners (in which case check the
  133. logs to get more information).
  134. </p>
  135. ";
  136. }
  137. }
  138. // line 69
  139. public function getdisplay_listener($_listener = null)
  140. {
  141. $context = $this->env->mergeGlobals(array(
  142. "listener" => $_listener,
  143. ));
  144. $blocks = array();
  145. ob_start();
  146. try {
  147. // line 70
  148. echo " ";
  149. if (($this->getAttribute($this->getContext($context, "listener"), "type") == "Closure")) {
  150. // line 71
  151. echo " Closure
  152. ";
  153. } elseif (($this->getAttribute($this->getContext($context, "listener"), "type") == "Function")) {
  154. // line 73
  155. echo " ";
  156. $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute($this->getContext($context, "listener"), "file"), $this->getAttribute($this->getContext($context, "listener"), "line"));
  157. // line 74
  158. echo " ";
  159. if ($this->getContext($context, "link")) {
  160. echo "<a href=\"";
  161. echo twig_escape_filter($this->env, $this->getContext($context, "link"), "html", null, true);
  162. echo "\">";
  163. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "function"), "html", null, true);
  164. echo "</a>";
  165. } else {
  166. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "function"), "html", null, true);
  167. }
  168. // line 75
  169. echo " ";
  170. } elseif (($this->getAttribute($this->getContext($context, "listener"), "type") == "Method")) {
  171. // line 76
  172. echo " ";
  173. $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute($this->getContext($context, "listener"), "file"), $this->getAttribute($this->getContext($context, "listener"), "line"));
  174. // line 77
  175. echo " ";
  176. echo $this->env->getExtension('code')->abbrClass($this->getAttribute($this->getContext($context, "listener"), "class"));
  177. echo "::";
  178. if ($this->getContext($context, "link")) {
  179. echo "<a href=\"";
  180. echo twig_escape_filter($this->env, $this->getContext($context, "link"), "html", null, true);
  181. echo "\">";
  182. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "method"), "html", null, true);
  183. echo "</a>";
  184. } else {
  185. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "listener"), "method"), "html", null, true);
  186. }
  187. // line 78
  188. echo " ";
  189. }
  190. } catch (Exception $e) {
  191. ob_end_clean();
  192. throw $e;
  193. }
  194. return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  195. }
  196. public function getTemplateName()
  197. {
  198. return "WebProfilerBundle:Collector:events.html.twig";
  199. }
  200. public function isTraitable()
  201. {
  202. return false;
  203. }
  204. public function getDebugInfo()
  205. {
  206. return array ( 191 => 77, 185 => 75, 113 => 48, 104 => 42, 367 => 339, 353 => 328, 306 => 286, 232 => 122, 161 => 74, 184 => 80, 170 => 76, 150 => 71, 84 => 27, 65 => 11, 292 => 156, 287 => 153, 265 => 144, 257 => 141, 251 => 138, 233 => 131, 186 => 105, 167 => 71, 153 => 69, 148 => 67, 126 => 83, 195 => 89, 146 => 64, 58 => 18, 757 => 345, 751 => 341, 742 => 339, 738 => 338, 734 => 337, 728 => 334, 724 => 333, 710 => 325, 703 => 321, 696 => 317, 674 => 304, 667 => 300, 659 => 295, 645 => 290, 639 => 287, 635 => 286, 630 => 284, 566 => 222, 559 => 220, 553 => 217, 548 => 215, 543 => 214, 537 => 212, 531 => 210, 529 => 209, 525 => 208, 517 => 207, 512 => 204, 506 => 200, 501 => 198, 496 => 197, 490 => 195, 484 => 193, 482 => 192, 470 => 190, 459 => 183, 443 => 178, 412 => 166, 396 => 161, 390 => 159, 388 => 158, 329 => 139, 324 => 136, 274 => 148, 260 => 142, 256 => 103, 244 => 128, 222 => 94, 216 => 124, 206 => 87, 200 => 117, 127 => 60, 100 => 46, 350 => 327, 342 => 189, 284 => 112, 271 => 136, 267 => 135, 228 => 128, 215 => 104, 211 => 88, 178 => 76, 165 => 69, 20 => 1, 809 => 338, 802 => 334, 794 => 331, 786 => 328, 778 => 325, 770 => 322, 762 => 347, 754 => 316, 745 => 310, 740 => 308, 723 => 293, 717 => 329, 711 => 291, 708 => 290, 695 => 284, 689 => 313, 681 => 308, 673 => 279, 664 => 277, 661 => 276, 658 => 275, 655 => 294, 651 => 272, 649 => 291, 646 => 270, 642 => 268, 640 => 267, 636 => 266, 631 => 265, 629 => 264, 626 => 263, 622 => 261, 619 => 260, 603 => 254, 597 => 251, 589 => 250, 581 => 249, 572 => 247, 569 => 246, 564 => 245, 560 => 243, 557 => 242, 554 => 241, 551 => 240, 549 => 239, 546 => 238, 530 => 232, 524 => 229, 516 => 228, 499 => 225, 491 => 223, 488 => 222, 477 => 214, 473 => 213, 463 => 212, 454 => 181, 451 => 209, 447 => 207, 441 => 205, 438 => 204, 434 => 202, 411 => 194, 405 => 191, 397 => 190, 383 => 185, 378 => 184, 371 => 153, 335 => 169, 318 => 164, 302 => 152, 293 => 157, 377 => 4, 354 => 192, 338 => 186, 330 => 183, 313 => 174, 308 => 287, 262 => 105, 242 => 116, 237 => 97, 231 => 96, 225 => 115, 223 => 114, 198 => 107, 194 => 83, 192 => 82, 155 => 69, 134 => 54, 129 => 63, 124 => 57, 110 => 22, 508 => 227, 505 => 250, 493 => 241, 487 => 238, 478 => 191, 468 => 223, 465 => 187, 456 => 218, 446 => 216, 436 => 214, 426 => 212, 416 => 210, 406 => 208, 404 => 207, 399 => 204, 392 => 202, 376 => 156, 370 => 198, 349 => 144, 344 => 180, 339 => 179, 333 => 177, 327 => 175, 325 => 166, 321 => 135, 317 => 134, 311 => 162, 303 => 165, 296 => 163, 275 => 154, 249 => 130, 212 => 254, 210 => 250, 205 => 138, 23 => 1, 70 => 26, 449 => 180, 431 => 174, 418 => 170, 414 => 142, 394 => 203, 386 => 123, 372 => 115, 364 => 113, 359 => 187, 351 => 109, 346 => 190, 343 => 142, 334 => 88, 328 => 82, 323 => 80, 315 => 163, 304 => 67, 297 => 158, 290 => 115, 286 => 58, 282 => 57, 279 => 110, 276 => 137, 250 => 102, 207 => 119, 190 => 92, 188 => 76, 174 => 74, 152 => 67, 137 => 65, 118 => 49, 114 => 53, 97 => 41, 90 => 37, 81 => 41, 76 => 31, 180 => 55, 172 => 101, 77 => 34, 53 => 15, 34 => 6, 480 => 162, 474 => 161, 469 => 158, 461 => 155, 457 => 153, 453 => 151, 444 => 206, 440 => 148, 437 => 176, 435 => 175, 430 => 201, 427 => 200, 423 => 173, 413 => 134, 409 => 132, 407 => 164, 402 => 163, 398 => 129, 393 => 126, 387 => 187, 384 => 157, 381 => 120, 379 => 119, 374 => 182, 368 => 180, 365 => 149, 362 => 195, 360 => 147, 355 => 329, 341 => 141, 337 => 140, 322 => 165, 314 => 99, 312 => 98, 309 => 97, 305 => 160, 298 => 164, 294 => 90, 285 => 89, 283 => 159, 278 => 86, 268 => 107, 264 => 84, 258 => 126, 252 => 140, 247 => 121, 241 => 77, 229 => 73, 220 => 70, 214 => 123, 177 => 80, 169 => 75, 140 => 53, 132 => 51, 128 => 58, 107 => 56, 61 => 23, 273 => 96, 269 => 145, 254 => 198, 243 => 88, 240 => 14, 238 => 125, 235 => 112, 230 => 11, 227 => 120, 224 => 127, 221 => 8, 219 => 125, 217 => 75, 208 => 92, 204 => 78, 179 => 69, 159 => 72, 143 => 69, 135 => 62, 119 => 58, 102 => 41, 71 => 23, 67 => 24, 63 => 21, 59 => 22, 93 => 38, 88 => 31, 78 => 18, 94 => 34, 89 => 30, 85 => 23, 75 => 24, 68 => 12, 56 => 11, 27 => 3, 201 => 92, 196 => 90, 183 => 83, 171 => 73, 166 => 75, 163 => 74, 158 => 79, 156 => 71, 151 => 63, 142 => 64, 138 => 56, 136 => 52, 121 => 50, 117 => 19, 105 => 18, 91 => 35, 62 => 24, 49 => 14, 87 => 34, 46 => 13, 44 => 11, 25 => 35, 21 => 2, 31 => 4, 38 => 12, 26 => 3, 28 => 3, 24 => 3, 19 => 1, 79 => 29, 72 => 27, 69 => 26, 47 => 8, 40 => 8, 37 => 7, 22 => 2, 246 => 135, 157 => 56, 145 => 66, 139 => 63, 131 => 61, 123 => 59, 120 => 20, 115 => 58, 111 => 47, 108 => 47, 101 => 43, 98 => 34, 96 => 37, 83 => 33, 74 => 27, 66 => 25, 55 => 16, 52 => 14, 50 => 18, 43 => 12, 41 => 10, 35 => 6, 32 => 5, 29 => 3, 209 => 161, 203 => 108, 199 => 98, 193 => 95, 189 => 86, 187 => 92, 182 => 90, 176 => 79, 173 => 77, 168 => 48, 164 => 70, 162 => 74, 154 => 61, 149 => 68, 147 => 70, 144 => 66, 141 => 48, 133 => 65, 130 => 36, 125 => 51, 122 => 43, 116 => 54, 112 => 58, 109 => 45, 106 => 45, 103 => 50, 99 => 36, 95 => 34, 92 => 28, 86 => 51, 82 => 28, 80 => 32, 73 => 16, 64 => 23, 60 => 12, 57 => 20, 54 => 19, 51 => 37, 48 => 16, 45 => 8, 42 => 11, 39 => 10, 36 => 8, 33 => 9, 30 => 5,);
  207. }
  208. }