var/cache/dev/twig/55/554a1022a8a06e761fa9bdfb38c0e0f9922d55a914bc964f092a3c424d66dab6.php line 64

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. /* snippet.twig */
  14. class __TwigTemplate_51ed44202cc1181b2461d46348ee3bd745d0c7e72d9fbe12e2c9b25b9902cfe9 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""snippet.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""snippet.twig"));
  33.         // line 1
  34.         $context['_parent'] = $context;
  35.         $context['_seq'] = twig_ensure_traversable((isset($context["snippets"]) || array_key_exists("snippets"$context) ? $context["snippets"] : (function () { throw new RuntimeError('Variable "snippets" does not exist.'1$this->source); })()));
  36.         $context['loop'] = [
  37.           'parent' => $context['_parent'],
  38.           'index0' => 0,
  39.           'index'  => 1,
  40.           'first'  => true,
  41.         ];
  42.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  43.             $length count($context['_seq']);
  44.             $context['loop']['revindex0'] = $length 1;
  45.             $context['loop']['revindex'] = $length;
  46.             $context['loop']['length'] = $length;
  47.             $context['loop']['last'] = === $length;
  48.         }
  49.         foreach ($context['_seq'] as $context["snippet"] => $context["include"]) {
  50.             // line 2
  51.             echo "    ";
  52.             if ($context["include"]) {
  53.                 // line 3
  54.                 echo "        ";
  55.                 echo twig_include($this->env$context$context["snippet"]);
  56.                 echo "
  57.     ";
  58.             } else {
  59.                 // line 5
  60.                 echo "        ";
  61.                 echo twig_include($this->env$contexttwig_template_from_string($this->env$context["snippet"]));
  62.                 echo "
  63.     ";
  64.             }
  65.             ++$context['loop']['index0'];
  66.             ++$context['loop']['index'];
  67.             $context['loop']['first'] = false;
  68.             if (isset($context['loop']['length'])) {
  69.                 --$context['loop']['revindex0'];
  70.                 --$context['loop']['revindex'];
  71.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  72.             }
  73.         }
  74.         $_parent $context['_parent'];
  75.         unset($context['_seq'], $context['_iterated'], $context['snippet'], $context['include'], $context['_parent'], $context['loop']);
  76.         $context array_intersect_key($context$_parent) + $_parent;
  77.         
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.     }
  82.     public function getTemplateName()
  83.     {
  84.         return "snippet.twig";
  85.     }
  86.     public function isTraitable()
  87.     {
  88.         return false;
  89.     }
  90.     public function getDebugInfo()
  91.     {
  92.         return array (  69 => 5,  63 => 3,  60 => 2,  43 => 1,);
  93.     }
  94.     public function getSourceContext()
  95.     {
  96.         return new Source("{% for snippet, include in snippets %}
  97.     {% if include %}
  98.         {{ include(snippet) }}
  99.     {% else %}
  100.         {{ include(template_from_string(snippet)) }}
  101.     {% endif %}
  102. {% endfor %}
  103. ""snippet.twig""/home/users/0/ciao.jp-ootaka-gift/web/ipanda-toride/ec-cube/src/Eccube/Resource/template/default/snippet.twig");
  104.     }
  105. }