{{ method.name }}()

{% if method.summary %}

{{ method.summary }}

{% endif %} {{ method.visibility }} {% if method.abstract %}abstract{% endif %} {% if method.final %}final{% endif %} {% if method.static %}static{% endif %} {{ method.name }}( {% for argument in method.arguments %} {% if argument.default %}[{% endif %}{% if not loop.first %}, {% endif %} {% if argument.isVariadic %}...{% endif %} {%- if argument.byReference -%}&{%- endif -%} ${{ argument.name }} : {{ argument.type|route('class:short')|join('|')|raw }} {% if argument.default %} = {{ argument.default }} ]{% endif %} {% endfor %} ) : {{ method.response.type|route('class:short')|join('|')|raw }} {% if method.description %}
{{ method.description|markdown }}
{% endif %} {% if method.arguments|length > 0 %}
Parameters
{% for argument in method.arguments %}
${{ argument.name }} : {{ argument.type|route('class:short')|join('|')|raw }} {% if argument.default %} = {{ argument.default }}{% endif %}
{{ argument.description|default('')|markdown }}
{% endfor %}
{% endif %} {% set visibleTags = method.tags|filter((v,k) => k not in ['param', 'return']) %} {{ include ('tags.html.twig', {tags: visibleTags}) }} {% if (method.response.type and method.response.type != 'void') or method.response.description %}
Return values
{{ method.response.type|route('class:short')|join('|')|raw }} {% if method.response.description %} — {{ method.response.description|markdown }} {% endif %} {% endif %}