{% extends 'layout.html.twig' %} {% macro elementSummary(element, type) %}

{{ element.name }}

{{ element.summary }}

{{ element.description }}
« More »
{% endmacro %} {% macro buildBreadcrumb(element) %} {% import _self as self %} {% if element.parent and element.parent.name != '\\' %} {{ self.buildBreadcrumb(element.parent) }} {% endif %}
  • \{{ element.name }}
  • {% endmacro %} {% macro renderPackageDetails(node) %} {% import _self as self %} {% if node.classes|length > 0 or node.interfaces|length > 0 or node.traits|length > 0 or node.functions|length > 0 or node.constants|length > 0 %} {% if node.functions|length > 0 %}

    Functions

    {% for function in node.functions %} {{ self.elementSummary(function, 'function') }} {% endfor %}
    {% endif %} {% if node.constants|length > 0 %}

    Constants

    {% for constant in node.constants %} {{ self.elementSummary(constant, 'constant') }} {% endfor %}
    {% endif %} {% if node.classes|length > 0 or node.interfaces|length > 0 or node.traits|length > 0 %}

    Classes, interfaces and traits

    {% for trait in node.traits|sort_asc %} {{ self.elementSummary(trait, 'trait') }} {% endfor %} {% for interface in node.interfaces|sort_asc %} {{ self.elementSummary(interface, 'interface') }} {% endfor %} {% for class in node.classes|sort_asc %} {{ self.elementSummary(class, 'class') }} {% endfor %}
    {% endif %} {% endif %} {% for package in node.children %} {{ self.renderPackageDetails(package) }} {% endfor %} {% endmacro %} {% macro renderPackageSidebar(node) %} {% import _self as self %} {% for package in node.children|sort_asc %}
  • {{ package.name }}
  • {% endfor %} {% endmacro %} {% block title %} {{ project.title }} » {{ node.FullyQualifiedStructuralElementName }} {% endblock %} {% block content %} {% import _self as self %}
    {{ self.renderPackageDetails(node) }}
    {% endblock %}