6dd9502e371b69bc0191dda5eeb2.php 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. /* TwigBundle:Exception:exception_full.html.twig */
  3. class __TwigTemplate_9f786dd9502e371b69bc0191dda5eeb2 extends Twig_Template
  4. {
  5. protected $parent;
  6. public function __construct(Twig_Environment $env)
  7. {
  8. parent::__construct($env);
  9. $this->parent = array();
  10. $this->blocks = array(
  11. 'title' => array($this, 'block_title'),
  12. 'body' => array($this, 'block_body'),
  13. );
  14. }
  15. public function getParent(array $context)
  16. {
  17. $parent = "TwigBundle::layout.html.twig";
  18. if ($parent instanceof Twig_Template) {
  19. $name = $parent->getTemplateName();
  20. $this->parent[$name] = $parent;
  21. $parent = $name;
  22. } elseif (!isset($this->parent[$parent])) {
  23. $this->parent[$parent] = $this->env->loadTemplate($parent);
  24. }
  25. return $this->parent[$parent];
  26. }
  27. protected function doDisplay(array $context, array $blocks = array())
  28. {
  29. $context = array_merge($this->env->getGlobals(), $context);
  30. $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
  31. }
  32. // line 3
  33. public function block_title($context, array $blocks = array())
  34. {
  35. // line 4
  36. echo " ";
  37. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'exception'), "message", array(), "any", false), "html");
  38. echo " (";
  39. echo twig_escape_filter($this->env, $this->getContext($context, 'status_code'), "html");
  40. echo " ";
  41. echo twig_escape_filter($this->env, $this->getContext($context, 'status_text'), "html");
  42. echo ")
  43. ";
  44. }
  45. // line 7
  46. public function block_body($context, array $blocks = array())
  47. {
  48. // line 8
  49. echo " ";
  50. $this->env->loadTemplate("TwigBundle:Exception:exception.html.twig")->display($context);
  51. }
  52. public function getTemplateName()
  53. {
  54. return "TwigBundle:Exception:exception_full.html.twig";
  55. }
  56. public function isTraitable()
  57. {
  58. return false;
  59. }
  60. }