{% set methods = methods(node)|sortByVisibility %} {% if methods is not empty %}

Methods

{% for method in methods %} {% include 'components/method.html.twig' %} {% endfor %}
{% endif %}