var/cache/dev/twig/00/009fc22419ecc73a76ec06b6cc991549.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* service-regulations/index.html.twig */
  16. class __TwigTemplate_0387f64213ed4602feec9aeaaaefaf4c extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""service-regulations/index.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""service-regulations/index.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""service-regulations/index.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 4
  62.         yield "
  63.     <div class=\"container large-tile\">
  64.         <h1>Règlement des services</h1>
  65.         ";
  66.         // line 9
  67.         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["dynamicHelp"]) || array_key_exists("dynamicHelp"$context) ? $context["dynamicHelp"] : (function () { throw new RuntimeError('Variable "dynamicHelp" does not exist.'9$this->source); })()), "get", ["infos-reglement"], "method"falsefalsefalse9);
  68.         yield "
  69.         <ul>
  70.             <li>
  71.                 <a href=\"";
  72.         // line 13
  73.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("public-drinking-water");
  74.         yield "\">Règlement du service public d'eau potable</a>
  75.             </li>
  76.             <li>
  77.                 <a href=\"";
  78.         // line 16
  79.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("public-sanitation");
  80.         yield "\">Règlement du service public d'assainissement</a>
  81.             </li>
  82.         </ul>
  83.     </div>
  84. ";
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.         
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  89.         yield from [];
  90.     }
  91.     /**
  92.      * @codeCoverageIgnore
  93.      */
  94.     public function getTemplateName(): string
  95.     {
  96.         return "service-regulations/index.html.twig";
  97.     }
  98.     /**
  99.      * @codeCoverageIgnore
  100.      */
  101.     public function isTraitable(): bool
  102.     {
  103.         return false;
  104.     }
  105.     /**
  106.      * @codeCoverageIgnore
  107.      */
  108.     public function getDebugInfo(): array
  109.     {
  110.         return array (  96 => 16,  90 => 13,  83 => 9,  76 => 4,  63 => 3,  40 => 1,);
  111.     }
  112.     public function getSourceContext(): Source
  113.     {
  114.         return new Source("{% extends 'base.html.twig' %}
  115. {% block body %}
  116.     <div class=\"container large-tile\">
  117.         <h1>Règlement des services</h1>
  118.         {{ dynamicHelp.get('infos-reglement') | raw }}
  119.         <ul>
  120.             <li>
  121.                 <a href=\"{{ path('public-drinking-water') }}\">Règlement du service public d'eau potable</a>
  122.             </li>
  123.             <li>
  124.                 <a href=\"{{ path('public-sanitation') }}\">Règlement du service public d'assainissement</a>
  125.             </li>
  126.         </ul>
  127.     </div>
  128. {% endblock %}
  129. ""service-regulations/index.html.twig""/var/www/reims.fr/extranet/current/templates/service-regulations/index.html.twig");
  130.     }
  131. }