|
97 | 97 | {# Lista de métodos públicos y protegidos #} |
98 | 98 | {% for method in class.methods|sort_asc %} |
99 | 99 | {% set methodsList = methodsList|merge([method.name]) %} |
100 | | -{% if method.visibility != 'private' %} |
101 | 100 | {% include 'method.md.twig' %} |
102 | | -{% endif %} |
103 | 101 | {% else %} |
104 | 102 | > This class has not methods. |
105 | 103 | {% endfor %} |
|
115 | 113 | {%- set parent_location = 'traits' %} |
116 | 114 | {%- endif %} |
117 | 115 |
|
118 | | -{%- if method.visibility != 'private' %} |
119 | 116 | - [{{ method.parent.namespace|trim('\\') -}}\\<span style="font-weight: bold;">{{ method.parent.name }}</span>](/api/{{ parent_location }}.html# |
120 | 117 | {{- method.parent|trim('\\')|lower|replace('\\', '-') -}} |
121 | 118 | ):: |
122 | 119 | {{- include('method-anchor-link.md.twig', { text: method.name ~ '()' }) -}} |
123 | 120 | {{ include('badges.md.twig', { elem: method }) }} |
124 | | -{% endif %} |
125 | 121 | {% else %} |
126 | 122 | > This class has not inherited methods. |
127 | 123 | {% endfor %} |
128 | 124 |
|
129 | 125 | {% set propertiesList = [] %} |
130 | 126 | ### <span style="display: none;">{{ class }}</span> Properties |
131 | 127 | {# Lista de propiedades públicas y protegidas #} |
132 | | -{% for property in class.properties|merge(class.magicProperties|default([]))|sort_asc if property.visibility != 'private' %} |
| 128 | +{% for property in class.properties|merge(class.magicProperties|default([]))|sort_asc %} |
133 | 129 | {% set propertiesList = propertiesList|merge([property.name]) %} |
134 | 130 | {% include 'property.md.twig' %} |
135 | 131 | {% else %} |
|
138 | 134 |
|
139 | 135 | #### <span style="display: none;">{{ class }}</span> Inherited properties |
140 | 136 | {# Lista de métodos públicos y protegidos #} |
141 | | -{% for property in class.inheritedProperties if property.name not in propertiesList and property.visibility != 'private'-%} |
| 137 | +{% for property in class.inheritedProperties if property.name not in propertiesList -%} |
142 | 138 | {%- if property.parent in project.indexes.classes %} |
143 | 139 | {%- set parent_location = 'classes' %} |
144 | 140 | {%- elseif property.parent in project.indexes.interfaces %} |
|
0 commit comments