var/cache/dev/twig/4a/4ab7f74469edc6e9cba71fcbcd8419d7.php line 55

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_bd978baf959a202624215687d7f533b7 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  33.         // line 11
  34.         $context['_parent'] = $context;
  35.         $context['_seq'] = twig_ensure_traversable((isset($context["Blocks"]) || array_key_exists("Blocks"$context) ? $context["Blocks"] : (function () { throw new RuntimeError('Variable "Blocks" does not exist.'11$this->source); })()));
  36.         foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
  37.             // line 12
  38.             echo "    <!-- ▼";
  39.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsefalse12), "html"nulltrue);
  40.             echo " -->
  41.     ";
  42.             // line 13
  43.             if (twig_get_attribute($this->env$this->source$context["Block"], "use_controller", [], "any"falsefalsefalse13)) {
  44.                 // line 14
  45.                 echo "        ";
  46.                 echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsefalse14))));
  47.                 echo "
  48.     ";
  49.             } else {
  50.                 // line 16
  51.                 echo "        ";
  52.                 echo $this->extensions['Eccube\Twig\Extension\TwigIncludeExtension']->include_dispatch($context, (("Block/" twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsefalse16)) . ".twig"));
  53.                 echo "
  54.     ";
  55.             }
  56.             // line 18
  57.             echo "    <!-- ▲";
  58.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsefalse18), "html"nulltrue);
  59.             echo " -->
  60. ";
  61.         }
  62.         $_parent $context['_parent'];
  63.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
  64.         $context array_intersect_key($context$_parent) + $_parent;
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.     }
  70.     public function getTemplateName()
  71.     {
  72.         return "block.twig";
  73.     }
  74.     public function isTraitable()
  75.     {
  76.         return false;
  77.     }
  78.     public function getDebugInfo()
  79.     {
  80.         return array (  66 => 18,  60 => 16,  54 => 14,  52 => 13,  47 => 12,  43 => 11,);
  81.     }
  82.     public function getSourceContext()
  83.     {
  84.         return new Source("{#
  85. This file is part of EC-CUBE
  86. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  87. http://www.ec-cube.co.jp/
  88. For the full copyright and license information, please view the LICENSE
  89. file that was distributed with this source code.
  90. #}
  91. {% for Block in Blocks %}
  92.     <!-- ▼{{ Block.name }} -->
  93.     {% if Block.use_controller %}
  94.         {{ render(path('block_' ~ Block.file_name)) }}
  95.     {% else %}
  96.         {{ include_dispatch('Block/' ~ Block.file_name ~ '.twig') }}
  97.     {% endif %}
  98.     <!-- ▲{{ Block.name }} -->
  99. {% endfor %}
  100. ""block.twig""/home/xs230941/tas-lab.net/public_html/src/Eccube/Resource/template/default/block.twig");
  101.     }
  102. }