var/cache/dev/twig/86/86c42de8de03e3afd39c4883eef0ef720dadb00b333dd5a5172c29411963bc64.php line 76

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* common/error.html.twig */
  14. class __TwigTemplate_6ec028fe8c469d8bf6f9f39d3be7ff4a98b8cde63cdf3b71547194e4571159f0 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $tags = array();
  27.         $filters = array("escape" => 5);
  28.         $functions = array();
  29.         try {
  30.             $this->sandbox->checkSecurity(
  31.                 [],
  32.                 ['escape'],
  33.                 []
  34.             );
  35.         } catch (SecurityError $e) {
  36.             $e->setSourceContext($this->source);
  37.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  38.                 $e->setTemplateLine($tags[$e->getTagName()]);
  39.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  40.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  41.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  42.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  43.             }
  44.             throw $e;
  45.         }
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/error.html.twig"));
  48.     }
  49.     protected function doGetParent(array $context)
  50.     {
  51.         // line 1
  52.         return "base.html.twig";
  53.     }
  54.     protected function doDisplay(array $context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/error.html.twig"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/error.html.twig"));
  61.         $this->parent $this->loadTemplate("base.html.twig""common/error.html.twig"1);
  62.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  63.         
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  65.         
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  67.     }
  68.     // line 3
  69.     public function block_body($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  76.         // line 4
  77.         echo "    <div class=\"alert alert-danger\">
  78.         <b>";
  79.         // line 5
  80.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["code"]) || array_key_exists("code"$context) ? $context["code"] : (function () { throw new RuntimeError('Variable "code" does not exist.'5$this->source); })()), 5$this->source), "html"nulltrue);
  81.         echo "</b>: ";
  82.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'5$this->source); })()), 5$this->source), "html"nulltrue);
  83.         echo "
  84.     </div>
  85. ";
  86.         
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.     }
  91.     public function getTemplateName()
  92.     {
  93.         return "common/error.html.twig";
  94.     }
  95.     public function isTraitable()
  96.     {
  97.         return false;
  98.     }
  99.     public function getDebugInfo()
  100.     {
  101.         return array (  99 => 5,  96 => 4,  86 => 3,  63 => 1,);
  102.     }
  103.     public function getSourceContext()
  104.     {
  105.         return new Source("{% extends 'base.html.twig' %}
  106. {% block body %}
  107.     <div class=\"alert alert-danger\">
  108.         <b>{{ code }}</b>: {{error}}
  109.     </div>
  110. {% endblock %}""common/error.html.twig""/var/www/projects/simplymeet-test/templates/common/error.html.twig");
  111.     }
  112. }