var/cache/dev/twig/29/290b100e483fa5b7eb0b9b4148e51bdc.php line 104

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. /* Block/header.twig */
  14. class __TwigTemplate_42cad215c33100922ffa4eaa4762497a extends \Eccube\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->parent false;
  23.         $this->blocks = [
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  37.         // line 11
  38.         $this->displayBlock('javascript'$context$blocks);
  39.         // line 30
  40.         $context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
  41.         // line 31
  42.         $context["categories"] = [=> ["name" => "お仏壇""id" => "1"], => ["name" => "お位牌""id" => "2"], => ["name" => "仏具""id" => "3"], => ["name" => "セット""id" => "4"], => ["name" => "手元供養""id" => "21"]];
  43.         // line 53
  44.         echo "
  45. ";
  46.         // line 54
  47.         $this->displayBlock('main'$context$blocks);
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 11
  54.     public function block_javascript($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  61.         // line 12
  62.         echo "\t";
  63.         // line 13
  64.         echo "\t<script>
  65. \t\t\$(document).ready(function () {
  66. \$(\".navigation\").hide();
  67. \$(function () {
  68. \$('.js-hamburger-menu').on('click', function () {
  69. \$('.navigation').slideToggle(500)
  70. \$('.navigation').toggleClass('active')
  71. \$('.hamburger-menu-top').toggleClass('top-0 top-3 lg:top-4 rotate-45 rotate-0')
  72. \$('.hamburger-menu-middle').toggleClass('hidden')
  73. \$('.hamburger-menu-bottom').toggleClass('-rotate-45 rotate-0 lg:top-4')
  74. \$('.hamburger-menu-text').toggleClass('opacity-0 opacity-100')
  75. });
  76. });
  77. });
  78. \t</script>
  79. ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.     }
  85.     // line 54
  86.     public function block_main($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  93.         // line 55
  94.         echo "\t<div class=\"bg-white h-[82px] bg-opacity-95 fixed z-20 w-full px-6 lg:px-2 lg:h-[56px] py-4\">
  95. \t\t<a href=\"";
  96.         // line 56
  97.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  98.         echo "\" class=\"hover w-[298px] lg:w-[180px] absolute -translate-x-1/2 left-1/2 mx-auto my-[6px] lg:my-1\">
  99. \t\t\t<img src=\"";
  100.         // line 57
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/site-logo.png"), "html"nulltrue);
  102.         echo "\" alt=\"site_logo on Header\" class=\"\">
  103. \t\t</a>
  104. \t\t<div class=\"flex items-center justify-between\">
  105. \t\t\t<a href=\"tel:0355795671\" class=\"lg:hidden hover flex gap-3 items-center\">
  106. \t\t\t\t<i class=\"fas fa-phone fa-flip-horizontal fa-lg\" style=\"color: #585858;\"></i>
  107. \t\t\t\t<p class=\"text-[#0F0F0F] font-extralight text-sm tracking-[4.4px]\">03-5579-5671</p>
  108. \t\t\t</a>
  109. \t\t\t";
  110.         // line 65
  111.         echo "\t\t\t<div class=\"lg:flex hidden cursor-pointer w-7 items-center justify-center\">
  112. \t\t\t\t<button class=\"relative js-hamburger-menu h-7 w-7\">
  113. \t\t\t\t\t<span class=\"hamburger-menu-top h-[0.8px] absolute top-0 right-0 bg-black w-7 inline-block rotate-0 duration-300\"></span>
  114. \t\t\t\t\t<span class=\"hamburger-menu-middle h-[0.8px] absolute top-[9px] right-0 bg-black w-7 inline-block duration-300\"></span>
  115. \t\t\t\t\t<span class=\"hamburger-menu-bottom h-[0.8px] absolute top-[18px] right-0 bg-black w-7 inline-block rotate-0 duration-300\"></span>
  116. \t\t\t\t</button>
  117. \t\t\t</div>
  118. \t\t\t<div class=\"flex items-center gap-10 lg:gap-3\">
  119. \t\t\t\t<a href=\"";
  120.         // line 73
  121.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  122.             echo " /mypage ";
  123.         } else {
  124.             echo " /mypage/login ";
  125.         }
  126.         echo "\" class=\"hover h-fit flex\">
  127. \t\t\t\t\t";
  128.         // line 74
  129.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  130.             // line 75
  131.             echo "\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 512 512\" class=\"w-6\"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill=\"#585858\" d=\"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z\"/></svg>
  132. \t\t\t\t\t";
  133.         } else {
  134.             // line 77
  135.             echo "\t\t\t\t\t\t<div class=\"flex gap-2 border-[#EFEFEF] border rounded py-3 lg:py-2 px-7 items-center lg:hidden\">
  136. \t\t\t\t\t\t\t<img src=\"";
  137.             // line 78
  138.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/heroicons-solid/user.svg"), "html"nulltrue);
  139.             echo "\" alt=\"register_login_btn on Header\" class=\"w-6 h-auto\">
  140. \t\t\t\t\t\t\t<p class=\"font-light font-notosans text-xs\">会員登録・ログイン</p>
  141. \t\t\t\t\t\t</div>
  142. \t\t\t\t\t\t<img src=\"";
  143.             // line 81
  144.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/heroicons-solid/user.svg"), "html"nulltrue);
  145.             echo "\" alt=\"register_login_btn on Header\" class=\"lg:block hidden w-6 h-6\">
  146. \t\t\t\t\t";
  147.         }
  148.         // line 83
  149.         echo "\t\t\t\t</a>
  150. \t\t\t\t<div class=\"flex items-center gap-8\">
  151. \t\t\t\t\t<a href=\"";
  152.         // line 85
  153.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  154.         echo "\" class=\"relative cursor-pointer\">
  155. \t\t\t\t\t\t<img src=\"";
  156.         // line 86
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/cart.png"), "html"nulltrue);
  158.         echo "\" alt=\"cart on Header\">
  159. \t\t\t\t\t\t<span class=\"absolute -right-1 -bottom-3 bg-white rounded-[50%] w-5 h-5 text-center text-xs leading-5 shadow-md\">
  160. \t\t\t\t\t\t\t";
  161.         // line 88
  162.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'88$this->source); })()), 88$this->source)), "html"nulltrue);
  163.         echo "
  164. \t\t\t\t\t\t</span>
  165. \t\t\t\t\t</a>
  166. \t\t\t\t\t<div class=\"lg:hidden cursor-pointer pt-2\">
  167. \t\t\t\t\t\t<button class=\"relative js-hamburger-menu h-4 w-full\">
  168. \t\t\t\t\t\t\t<span class=\"hamburger-menu-top h-px absolute top-0 right-0 bg-black w-9 inline-block rotate-0 duration-300\"></span>
  169. \t\t\t\t\t\t\t<span class=\"hamburger-menu-middle h-px absolute top-1.5 right-0 bg-black w-9 inline-block duration-300\"></span>
  170. \t\t\t\t\t\t\t<span class=\"hamburger-menu-bottom h-px absolute top-3 right-0 bg-black w-9 inline-block rotate-0 duration-300\"></span>
  171. \t\t\t\t\t\t</button>
  172. \t\t\t\t\t\t<p class=\"hamburger-menu-text text-[11px] font-bold duration-300 opacity-100\">MENU</p>
  173. \t\t\t\t\t</div>
  174. \t\t\t\t</div>
  175. \t\t\t</div>
  176. \t\t</div>
  177. \t</div>
  178. \t<nav class=\"navigation fixed hidden top-[82px] left-0 z-20 bg-white h-[calc(100%-81px)] w-full bg-opacity-95 py-20 overflow-y-scroll lg:h-[calc(100%-44px)] lg:top-[56px] lg:py-6\">
  179. \t\t";
  180.         // line 104
  181.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"hamburger.twig");
  182.         echo "
  183. \t</nav>
  184. \t<div class=\"opacity-0 h-[164px] lg:h-[52px]\">ヘッダーの高さ分の要素</div>
  185.     ";
  186.         // line 107
  187.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"sticky-nav.twig");
  188.         echo "
  189. ";
  190.         
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  192.         
  193.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  194.     }
  195.     public function getTemplateName()
  196.     {
  197.         return "Block/header.twig";
  198.     }
  199.     public function isTraitable()
  200.     {
  201.         return false;
  202.     }
  203.     public function getDebugInfo()
  204.     {
  205.         return array (  207 => 107,  201 => 104,  182 => 88,  177 => 86,  173 => 85,  169 => 83,  164 => 81,  158 => 78,  155 => 77,  151 => 75,  149 => 74,  141 => 73,  131 => 65,  121 => 57,  117 => 56,  114 => 55,  104 => 54,  78 => 13,  76 => 12,  66 => 11,  56 => 54,  53 => 53,  51 => 31,  49 => 30,  47 => 11,);
  206.     }
  207.     public function getSourceContext()
  208.     {
  209.         return new Source("{#
  210. This file is part of EC-CUBE
  211. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  212. http://www.ec-cube.co.jp/
  213. For the full copyright and license information, please view the LICENSE
  214. file that was distributed with this source code.
  215. #}
  216. {% block javascript %}
  217. \t{# ハンバーガーメニュー開閉の処理 #}
  218. \t<script>
  219. \t\t\$(document).ready(function () {
  220. \$(\".navigation\").hide();
  221. \$(function () {
  222. \$('.js-hamburger-menu').on('click', function () {
  223. \$('.navigation').slideToggle(500)
  224. \$('.navigation').toggleClass('active')
  225. \$('.hamburger-menu-top').toggleClass('top-0 top-3 lg:top-4 rotate-45 rotate-0')
  226. \$('.hamburger-menu-middle').toggleClass('hidden')
  227. \$('.hamburger-menu-bottom').toggleClass('-rotate-45 rotate-0 lg:top-4')
  228. \$('.hamburger-menu-text').toggleClass('opacity-0 opacity-100')
  229. });
  230. });
  231. });
  232. \t</script>
  233. {% endblock javascript %}
  234. {% set totalQuantity = get_carts_total_quantity() %}
  235. {% set categories = [
  236.     {
  237.         'name': 'お仏壇',
  238.         'id':'1',
  239.     },
  240.     {
  241.         'name': 'お位牌',
  242.          'id':'2',
  243.     },
  244.     {
  245.         'name': '仏具',
  246.          'id':'3',
  247.     },
  248.     {
  249.         'name': 'セット',
  250.          'id':'4',
  251.     },
  252.     {
  253.         'name': '手元供養',
  254.          'id':'21',
  255.     },
  256. ] %}
  257. {% block main %}
  258. \t<div class=\"bg-white h-[82px] bg-opacity-95 fixed z-20 w-full px-6 lg:px-2 lg:h-[56px] py-4\">
  259. \t\t<a href=\"{{url('homepage')}}\" class=\"hover w-[298px] lg:w-[180px] absolute -translate-x-1/2 left-1/2 mx-auto my-[6px] lg:my-1\">
  260. \t\t\t<img src=\"{{ asset('assets/img/header/site-logo.png') }}\" alt=\"site_logo on Header\" class=\"\">
  261. \t\t</a>
  262. \t\t<div class=\"flex items-center justify-between\">
  263. \t\t\t<a href=\"tel:0355795671\" class=\"lg:hidden hover flex gap-3 items-center\">
  264. \t\t\t\t<i class=\"fas fa-phone fa-flip-horizontal fa-lg\" style=\"color: #585858;\"></i>
  265. \t\t\t\t<p class=\"text-[#0F0F0F] font-extralight text-sm tracking-[4.4px]\">03-5579-5671</p>
  266. \t\t\t</a>
  267. \t\t\t{# SP時のハンバーガー #}
  268. \t\t\t<div class=\"lg:flex hidden cursor-pointer w-7 items-center justify-center\">
  269. \t\t\t\t<button class=\"relative js-hamburger-menu h-7 w-7\">
  270. \t\t\t\t\t<span class=\"hamburger-menu-top h-[0.8px] absolute top-0 right-0 bg-black w-7 inline-block rotate-0 duration-300\"></span>
  271. \t\t\t\t\t<span class=\"hamburger-menu-middle h-[0.8px] absolute top-[9px] right-0 bg-black w-7 inline-block duration-300\"></span>
  272. \t\t\t\t\t<span class=\"hamburger-menu-bottom h-[0.8px] absolute top-[18px] right-0 bg-black w-7 inline-block rotate-0 duration-300\"></span>
  273. \t\t\t\t</button>
  274. \t\t\t</div>
  275. \t\t\t<div class=\"flex items-center gap-10 lg:gap-3\">
  276. \t\t\t\t<a href=\"{% if is_granted('ROLE_USER') %} /mypage {% else %} /mypage/login {% endif %}\" class=\"hover h-fit flex\">
  277. \t\t\t\t\t{% if is_granted('ROLE_USER') %}
  278. \t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 512 512\" class=\"w-6\"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill=\"#585858\" d=\"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z\"/></svg>
  279. \t\t\t\t\t{% else %}
  280. \t\t\t\t\t\t<div class=\"flex gap-2 border-[#EFEFEF] border rounded py-3 lg:py-2 px-7 items-center lg:hidden\">
  281. \t\t\t\t\t\t\t<img src=\"{{ asset('assets/img/header/heroicons-solid/user.svg') }}\" alt=\"register_login_btn on Header\" class=\"w-6 h-auto\">
  282. \t\t\t\t\t\t\t<p class=\"font-light font-notosans text-xs\">会員登録・ログイン</p>
  283. \t\t\t\t\t\t</div>
  284. \t\t\t\t\t\t<img src=\"{{ asset('assets/img/header/heroicons-solid/user.svg') }}\" alt=\"register_login_btn on Header\" class=\"lg:block hidden w-6 h-6\">
  285. \t\t\t\t\t{% endif %}
  286. \t\t\t\t</a>
  287. \t\t\t\t<div class=\"flex items-center gap-8\">
  288. \t\t\t\t\t<a href=\"{{url('cart')}}\" class=\"relative cursor-pointer\">
  289. \t\t\t\t\t\t<img src=\"{{ asset('assets/img/header/cart.png') }}\" alt=\"cart on Header\">
  290. \t\t\t\t\t\t<span class=\"absolute -right-1 -bottom-3 bg-white rounded-[50%] w-5 h-5 text-center text-xs leading-5 shadow-md\">
  291. \t\t\t\t\t\t\t{{ totalQuantity|number_format }}
  292. \t\t\t\t\t\t</span>
  293. \t\t\t\t\t</a>
  294. \t\t\t\t\t<div class=\"lg:hidden cursor-pointer pt-2\">
  295. \t\t\t\t\t\t<button class=\"relative js-hamburger-menu h-4 w-full\">
  296. \t\t\t\t\t\t\t<span class=\"hamburger-menu-top h-px absolute top-0 right-0 bg-black w-9 inline-block rotate-0 duration-300\"></span>
  297. \t\t\t\t\t\t\t<span class=\"hamburger-menu-middle h-px absolute top-1.5 right-0 bg-black w-9 inline-block duration-300\"></span>
  298. \t\t\t\t\t\t\t<span class=\"hamburger-menu-bottom h-px absolute top-3 right-0 bg-black w-9 inline-block rotate-0 duration-300\"></span>
  299. \t\t\t\t\t\t</button>
  300. \t\t\t\t\t\t<p class=\"hamburger-menu-text text-[11px] font-bold duration-300 opacity-100\">MENU</p>
  301. \t\t\t\t\t</div>
  302. \t\t\t\t</div>
  303. \t\t\t</div>
  304. \t\t</div>
  305. \t</div>
  306. \t<nav class=\"navigation fixed hidden top-[82px] left-0 z-20 bg-white h-[calc(100%-81px)] w-full bg-opacity-95 py-20 overflow-y-scroll lg:h-[calc(100%-44px)] lg:top-[56px] lg:py-6\">
  307. \t\t{{ include('hamburger.twig') }}
  308. \t</nav>
  309. \t<div class=\"opacity-0 h-[164px] lg:h-[52px]\">ヘッダーの高さ分の要素</div>
  310.     {{ include('sticky-nav.twig') }}
  311. {% endblock %}
  312. ""Block/header.twig""/home/xs082386/manaka-store.com/public_html/renewal.manaka-store.com/src/Eccube/Resource/template/default/Block/header.twig");
  313.     }
  314.     
  315.     public function checkSecurity()
  316.     {
  317.         static $tags = array("block" => 11"set" => 30"if" => 73);
  318.         static $filters = array("escape" => 57"number_format" => 88);
  319.         static $functions = array("get_carts_total_quantity" => 30"url" => 56"asset" => 57"is_granted" => 73"include" => 104);
  320.         try {
  321.             $this->sandbox->checkSecurity(
  322.                 ['block''set''if'],
  323.                 ['escape''number_format'],
  324.                 ['get_carts_total_quantity''url''asset''is_granted''include']
  325.             );
  326.         } catch (SecurityError $e) {
  327.             $e->setSourceContext($this->source);
  328.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  329.                 $e->setTemplateLine($tags[$e->getTagName()]);
  330.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  331.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  332.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  333.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  334.             }
  335.             throw $e;
  336.         }
  337.     }
  338. }