var/cache/dev/twig/0b/0b21d07fd725098f6797785c888d3f42.php line 35

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. /* @FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig */
  14. class __TwigTemplate_73ca1c9f90fa4cbdb7eb197a8cce6f77 extends 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig"));
  35.         // line 1
  36.         $macros["variant_macro"] = $this->macros["variant_macro"] = $this->loadTemplate("@FoxHabbitBasis/Macro/area-variant.html.twig""@FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig"1)->unwrap();
  37.         // line 3
  38.         echo twig_call_macro($macros["variant_macro"], "macro_includeVariant", [        // line 5
  39. $context,         // line 6
  40. $this->getTemplateName(), ((        // line 7
  41. array_key_exists("class"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'7$this->source); })()), 7$this->source), "")) : (""))], 4$context$this->getSourceContext());
  42.         // line 9
  43.         echo "
  44. ";
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     public function getTemplateName()
  51.     {
  52.         return "@FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig";
  53.     }
  54.     public function isTraitable()
  55.     {
  56.         return false;
  57.     }
  58.     public function getDebugInfo()
  59.     {
  60.         return array (  52 => 9,  50 => 7,  49 => 6,  48 => 5,  47 => 3,  45 => 1,);
  61.     }
  62.     public function getSourceContext()
  63.     {
  64.         return new Source("{% import '@FoxHabbitBasis/Macro/area-variant.html.twig' as variant_macro %}
  65. {#{dump(_context)}#}
  66. {{
  67. \tvariant_macro.includeVariant(
  68. \t\t _context,
  69. \t\t _self,
  70. \t\tclass|default('')
  71. \t)
  72. }}
  73. ""@FoxHabbitBasis/Areas/element/basisbundle-element-col/view.html.twig""/srv/httpd/vhosts/lorch-test/releases/51/bundles/FoxHabbit/BasisBundle/Resources/views/Areas/element/basisbundle-element-col/view.html.twig");
  74.     }
  75.     
  76.     public function checkSecurity()
  77.     {
  78.         static $tags = array("import" => 1);
  79.         static $filters = array("default" => 7);
  80.         static $functions = array();
  81.         try {
  82.             $this->sandbox->checkSecurity(
  83.                 ['import'],
  84.                 ['default'],
  85.                 []
  86.             );
  87.         } catch (SecurityError $e) {
  88.             $e->setSourceContext($this->source);
  89.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  90.                 $e->setTemplateLine($tags[$e->getTagName()]);
  91.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  92.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  93.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  94.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  95.             }
  96.             throw $e;
  97.         }
  98.     }
  99. }