--TEST-- "include" function 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
info at phpclasses dot org