var/cache/dev/twig/4e/4e6ffdc06f697788c6b86cca10e66d543c26db2690ff214db6f928ddf81afd77.php line 33

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_a047e4981ade9b231d19b2db6aa7d94a142cbdbb5bb2f42bdb1a9bf347a6d57c 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.         
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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/xs935478/flap-shop.com/public_html/app/template/flapshop/block.twig");
  101.     }
  102. }