var/cache/dev/twig/b1/b1e622fd68a6b598b0eb3af9bf38a172.php line 59

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