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