var/cache/dev/twig/1f/1fd1d754afe41798114f8cf5b4849996920ad7a75ee9fb689a5e39a6666574b0.php line 57

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_e1b95887b4da95bd9dc0f9a5a5768ca2c3d13cd9381fdc5b6d083887461ee9e2 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  35.         // line 11
  36.         $context['_parent'] = $context;
  37.         $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); })()));
  38.         foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
  39.             // line 12
  40.             echo "    <!-- ▼";
  41.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  42.             echo " -->
  43.     ";
  44.             // line 13
  45.             if (twig_get_attribute($this->env$this->source$context["Block"], "use_controller", [], "any"falsefalsetrue13)) {
  46.                 // line 14
  47.                 echo "        ";
  48.                 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"falsefalsetrue14), 14$this->source))));
  49.                 echo "
  50.     ";
  51.             } else {
  52.                 // line 16
  53.                 echo "        ";
  54.                 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"falsefalsetrue16), 16$this->source)) . ".twig"));
  55.                 echo "
  56.     ";
  57.             }
  58.             // line 18
  59.             echo "    <!-- ▲";
  60.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue18), 18$this->source), "html"nulltrue);
  61.             echo " -->
  62. ";
  63.         }
  64.         $_parent $context['_parent'];
  65.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
  66.         $context array_intersect_key($context$_parent) + $_parent;
  67.         
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.     }
  72.     public function getTemplateName()
  73.     {
  74.         return "block.twig";
  75.     }
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     public function getDebugInfo()
  81.     {
  82.         return array (  68 => 18,  62 => 16,  56 => 14,  54 => 13,  49 => 12,  45 => 11,);
  83.     }
  84.     public function getSourceContext()
  85.     {
  86.         return new Source("{#
  87. This file is part of EC-CUBE
  88. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  89. http://www.ec-cube.co.jp/
  90. For the full copyright and license information, please view the LICENSE
  91. file that was distributed with this source code.
  92. #}
  93. {% for Block in Blocks %}
  94.     <!-- ▼{{ Block.name }} -->
  95.     {% if Block.use_controller %}
  96.         {{ render(path('block_' ~ Block.file_name)) }}
  97.     {% else %}
  98.         {{ include_dispatch('Block/' ~ Block.file_name ~ '.twig') }}
  99.     {% endif %}
  100.     <!-- ▲{{ Block.name }} -->
  101. {% endfor %}
  102. ""block.twig""/home/kaorimehonpo/kaorime.co.jp/public_html/shop.kaorime.co.jp/app/template/kaorime/block.twig");
  103.     }
  104.     
  105.     public function checkSecurity()
  106.     {
  107.         static $tags = array("for" => 11"if" => 13);
  108.         static $filters = array("escape" => 12);
  109.         static $functions = array("render" => 14"path" => 14"include_dispatch" => 16);
  110.         try {
  111.             $this->sandbox->checkSecurity(
  112.                 ['for''if'],
  113.                 ['escape'],
  114.                 ['render''path''include_dispatch']
  115.             );
  116.         } catch (SecurityError $e) {
  117.             $e->setSourceContext($this->source);
  118.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  119.                 $e->setTemplateLine($tags[$e->getTagName()]);
  120.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  121.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  122.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  123.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  124.             }
  125.             throw $e;
  126.         }
  127.     }
  128. }