blob: 18d405a02e3a33394775a590ebc9865a755697a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
"include" function accepts Twig_Template instance
--TEMPLATE--
{{ include(foo) }} FOO
--TEMPLATE(foo.twig)--
BAR
--DATA--
return array('foo' => $twig->loadTemplate('foo.twig'))
--EXPECT--
BAR FOO
|