Files
2019-06-30 14:48:27 +02:00

18 lines
212 B
Plaintext

--TEST--
"include" function allows expressions for the template to include
--TEMPLATE--
FOO
{{ include(foo) }}
BAR
--TEMPLATE(foo.twig)--
FOOBAR
--DATA--
return ['foo' => 'foo.twig']
--EXPECT--
FOO
FOOBAR
BAR