var/cache/dev/twig/b2/b29c778cc8e823466946727ca51dc1ac.php line 44

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. /* @PumukitWebTV/layout.html.twig */
  16. class __TwigTemplate_a44fc68c9fb2724baaeab88dc1f247e7 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.         ];
  29.     }
  30.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  31.     {
  32.         // line 2
  33.         return $this->load((((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 1
  34. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "has", ["microsite_custom_base"], "method"falsefalsefalse1)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 2
  35. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "attributes", [], "any"falsefalsefalse2), "get", ["microsite_custom_base"], "method"falsefalsefalse2)) : ("@PumukitWebTV/Layout/template.html.twig")), 2);
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PumukitWebTV/layout.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PumukitWebTV/layout.html.twig"));
  44.         yield from $this->getParent($context)->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.     /**
  51.      * @codeCoverageIgnore
  52.      */
  53.     public function getTemplateName(): string
  54.     {
  55.         return "@PumukitWebTV/layout.html.twig";
  56.     }
  57.     /**
  58.      * @codeCoverageIgnore
  59.      */
  60.     public function isTraitable(): bool
  61.     {
  62.         return false;
  63.     }
  64.     /**
  65.      * @codeCoverageIgnore
  66.      */
  67.     public function getDebugInfo(): array
  68.     {
  69.         return array (  41 => 2,  40 => 1,  39 => 2,);
  70.     }
  71.     public function getSourceContext(): Source
  72.     {
  73.         return new Source("{% extends app.request.attributes.has('microsite_custom_base')
  74.     ? app.request.attributes.get('microsite_custom_base')
  75.     : '@PumukitWebTV/Layout/template.html.twig' %}
  76. ""@PumukitWebTV/layout.html.twig""/srv/pumukit/src/Pumukit/WebTVBundle/Resources/views/layout.html.twig");
  77.     }
  78. }