--TEST-- macro --TEMPLATE-- {% import _self as macros %} {% macro foo(data) %} {{ data }} {% endmacro %} {% macro bar() %} <br /> {% endmacro %} {{ macros.foo(macros.bar()) }} --DATA-- return array(); --EXPECT-- <br />
info at phpclasses dot org