var/cache/dev/twig/db/dba8e6c06be726dafc5f94f6c2ab599b.php line 56

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.twig */
  14. class __TwigTemplate_b94310a7efdabfcb42cd8a66a4403a38 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.         ];
  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""block.twig"));
  33.         // line 1
  34.         echo "
  35. ";
  36.         // line 2
  37.         $context['_parent'] = $context;
  38.         $context['_seq'] = twig_ensure_traversable(($context["Blocks"] ?? null));
  39.         foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
  40.             // line 3
  41.             echo "<!-- ▼";
  42.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue3), 3$this->source), "html"nulltrue);
  43.             echo " -->
  44. ";
  45.             // line 4
  46.             if (twig_get_attribute($this->env$this->source$context["Block"], "use_controller", [], "any"falsefalsetrue4)) {
  47.                 // line 5
  48.                 echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getPath(("block_" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue5), 5$this->source))));
  49.                 echo "
  50. ";
  51.             } else {
  52.                 // line 7
  53.                 echo $this->extensions['Eccube\Twig\Extension\TwigIncludeExtension']->include_dispatch($context, (("Block/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue7), 7$this->source)) . ".twig"));
  54.                 echo "
  55. ";
  56.             }
  57.             // line 9
  58.             echo "<!-- ▲";
  59.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue9), 9$this->source), "html"nulltrue);
  60.             echo " -->
  61. ";
  62.         }
  63.         $_parent $context['_parent'];
  64.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
  65.         $context array_intersect_key($context$_parent) + $_parent;
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     public function getTemplateName()
  70.     {
  71.         return "block.twig";
  72.     }
  73.     public function isTraitable()
  74.     {
  75.         return false;
  76.     }
  77.     public function getDebugInfo()
  78.     {
  79.         return array (  66 => 9,  61 => 7,  56 => 5,  54 => 4,  49 => 3,  45 => 2,  42 => 1,);
  80.     }
  81.     public function getSourceContext()
  82.     {
  83.         return new Source("""block.twig""/home/hr67ekh16/u-arts-moulding.jp/public_html/app/template/uarts/block.twig");
  84.     }
  85.     
  86.     public function checkSecurity()
  87.     {
  88.         static $tags = array("for" => 2"if" => 4);
  89.         static $filters = array("escape" => 3);
  90.         static $functions = array("render" => 5"path" => 5"include_dispatch" => 7);
  91.         try {
  92.             $this->sandbox->checkSecurity(
  93.                 ['for''if'],
  94.                 ['escape'],
  95.                 ['render''path''include_dispatch']
  96.             );
  97.         } catch (SecurityError $e) {
  98.             $e->setSourceContext($this->source);
  99.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  100.                 $e->setTemplateLine($tags[$e->getTagName()]);
  101.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  102.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  103.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  104.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  105.             }
  106.             throw $e;
  107.         }
  108.     }
  109. }