be able to use macro functions in document templates coded in twig in order to allow the definition of reusable components in the code.
For example:
{% macro printFooter ()%}
<div class="footer">
find all the information on {{app.user.entiteactive.siteWeb}}</div>
{% endmacro%}