Template runtime and block composition

This commit is contained in:
Fabien Potencier
2026-09-03 21:18:47 +02:00
parent 7b19e1561b
commit 49f814ea26
12 changed files with 1013 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class BlockTest extends NodeTestCase
*/
public function block_foo(array \$context, array \$blocks = []): iterable
{
\$macros = \$this->macros;
\$macros = null === \$this->macroImportSource ? \$this->macros : \$this->rebindMacroImports(\$this->macroImportSource->macros);
yield "foo";
yield from [];
}