-
Notifications
You must be signed in to change notification settings - Fork 0
/
namespace.html.twig
44 lines (38 loc) · 1.32 KB
/
namespace.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% extends 'layout.html.twig' %}
{% block content %}
<article class="phpdocumentor-element -namespace">
<h2 class="phpdocumentor-content__title">Namespace {{ node.name == '\\' ? 'API Documentation' : node.name }}</h2>
{% if node.classes is not empty %}
<h3>Classes</h3>
<ul>
{% for class in node.classes %}
<li class="class">{{ class|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if node.interfaces is not empty %}
<h3>Interfaces</h3>
<ul>
{% for interface in node.interfaces %}
<li class="interface">{{ interface|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if node.traits is not empty %}
<h3>Traits</h3>
<ul>
{% for trait in node.traits %}
<li class="trait">{{ trait|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if node.enums is not empty %}
<h3>Enums</h3>
<ul>
{% for enum in node.enums %}
<li class="enum">{{ enum|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
</article>
{% endblock %}