1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--TEST-- "include" tag allows expressions for the template to include --TEMPLATE-- FOO {% include foo %} BAR --TEMPLATE(foo.twig)-- FOOBAR --DATA-- return array('foo' => 'foo.twig') --EXPECT-- FOO FOOBAR BAR