var/cache/dev/twig/4a/4a86d3997c38fcd14782ab6efadb7412.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-button/view.html.twig */
  14. class __TwigTemplate_1e8637ce5d21c1f185b620385e410454 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-button/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-button/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-button/view.html.twig"1)->unwrap();
  37.         // line 2
  38.         echo twig_call_macro($macros["variant_macro"], "macro_includeVariant", [        // line 4
  39. $context,         // line 5
  40. $this->getTemplateName()], 3$context$this->getSourceContext());
  41.         // line 7
  42.         echo "
  43. ";
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     public function getTemplateName()
  50.     {
  51.         return "@FoxHabbitBasis/Areas/element/basisbundle-element-button/view.html.twig";
  52.     }
  53.     public function isTraitable()
  54.     {
  55.         return false;
  56.     }
  57.     public function getDebugInfo()
  58.     {
  59.         return array (  51 => 7,  49 => 5,  48 => 4,  47 => 2,  45 => 1,);
  60.     }
  61.     public function getSourceContext()
  62.     {
  63.         return new Source("{% import '@FoxHabbitBasis/Macro/area-variant.html.twig' as variant_macro %}
  64. {{
  65. \tvariant_macro.includeVariant(
  66. \t\t _context,
  67. \t\t _self
  68. \t)
  69. }}
  70. ""@FoxHabbitBasis/Areas/element/basisbundle-element-button/view.html.twig""/srv/httpd/vhosts/lorch-test/releases/51/bundles/FoxHabbit/BasisBundle/Resources/views/Areas/element/basisbundle-element-button/view.html.twig");
  71.     }
  72.     
  73.     public function checkSecurity()
  74.     {
  75.         static $tags = array("import" => 1);
  76.         static $filters = array();
  77.         static $functions = array();
  78.         try {
  79.             $this->sandbox->checkSecurity(
  80.                 ['import'],
  81.                 [],
  82.                 []
  83.             );
  84.         } catch (SecurityError $e) {
  85.             $e->setSourceContext($this->source);
  86.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  87.                 $e->setTemplateLine($tags[$e->getTagName()]);
  88.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  89.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  90.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  91.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  92.             }
  93.             throw $e;
  94.         }
  95.     }
  96. }