*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], 'content' => [$this, 'block_content'], 'scripts' => [$this, 'block_scripts'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 1 yield " "; // line 5 yield from $this->unwrap()->yieldBlock('title', $context, $blocks); yield " "; // line 7 yield " "; // line 17 yield " "; yield from $this->load("partials/_header.twig", 17)->unwrap()->yield($context); // line 18 yield " "; // line 20 yield "
"; // line 21 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); // line 22 yield "
"; // line 25 yield " "; yield from $this->load("partials/_footer.twig", 25)->unwrap()->yield($context); // line 26 yield " "; // line 28 yield " "; // line 29 yield " "; yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks); // line 30 yield " "; yield from []; } // line 5 /** * @return iterable */ public function block_title(array $context, array $blocks = []): iterable { $macros = $this->macros; yield "Mon Blog"; yield from []; } // line 21 /** * @return iterable */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } // line 29 /** * @return iterable */ public function block_scripts(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "layout.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 121 => 29, 111 => 21, 100 => 5, 92 => 30, 89 => 29, 87 => 28, 84 => 26, 81 => 25, 77 => 22, 75 => 21, 72 => 20, 69 => 18, 66 => 17, 55 => 7, 51 => 5, 45 => 1,); } public function getSourceContext(): Source { return new Source("", "layout.twig", "/home/julien/Documents/Git/julien/blog-slim/views/layout.twig"); } }