-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterface.html.twig
More file actions
55 lines (48 loc) · 2.27 KB
/
interface.html.twig
File metadata and controls
55 lines (48 loc) · 2.27 KB
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
45
46
47
48
49
50
51
52
53
54
55
{% extends 'base.html.twig' %}
{% block content %}
{% include 'components/breadcrumbs.html.twig' %}
<article class="phpdocumentor-element -interface">
{{ include('components/interface-title.html.twig') }}
{{ include('components/element-found-in.html.twig') }}
{{ include('components/element-header.html.twig') }}
{{ include('components/constants.html.twig') }}
{{ include('components/methods.html.twig') }}
{{ include('components/source-modal.html.twig') }}
</article>
{% endblock %}
{% block on_this_page %}
{% set constants = constants(node) %}
{% set methods = methods(node) %}
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="{{ link(node) }}#toc-constants">Constants</a></li>
<li><a href="{{ link(node) }}#toc-methods">Methods</a></li>
</ul>
</li>
{% if methods is not empty %}
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
{% for method in methods|sortByVisibility %}
<li class="{% if method.deprecated %}-deprecated{% endif %}"><a href="{{ link(method) }}">{{ method.name }}()</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if constants is not empty %}
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
<li>
<ul class="phpdocumentor-list -clean">
{% for constant in constants|sortByVisibility %}
<li class="{% if constants.deprecated %}-deprecated{% endif %}"><a href="{{ link(constant) }}">{{ constant.name }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
</ul>
</section>
{% endblock %}