reference/reflection/reflectionclass/getmethods.xml
ec2fe9a592f794978114ef5021db9f1d00c2e05d
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="reflectionclass.getmethods" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionClass::getMethods</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="ReflectionClass">
13
12
<modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getMethods</methodname>
14
-
<methodparam choice="opt"><type>int</type><parameter>filter</parameter></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Gets an array of methods for the class.
...
...
@@ -60,6 +59,28 @@
60
59
</para>
61
60
</refsect1>
62
61
62
+
<refsect1 role="changelog">
63
+
&reftitle.changelog;
64
+
<informaltable>
65
+
<tgroup cols="2">
66
+
<thead>
67
+
<row>
68
+
<entry>&Version;</entry>
69
+
<entry>&Description;</entry>
70
+
</row>
71
+
</thead>
72
+
<tbody>
73
+
<row>
74
+
<entry>7.2.0</entry>
75
+
<entry>
76
+
<parameter>filter</parameter> is nullable now.
77
+
</entry>
78
+
</row>
79
+
</tbody>
80
+
</tgroup>
81
+
</informaltable>
82
+
</refsect1>
83
+

63
84
<refsect1 role="examples">
64
85
&reftitle.examples;
65
86
<para>
...
...
@@ -85,21 +106,21 @@ var_dump($methods);
85
106
<![CDATA[
86
107
array(3) {
87
108
[0]=>
88
-
&object(ReflectionMethod)#2 (2) {
109
+
object(ReflectionMethod)#2 (2) {
89
110
["name"]=>
90
111
string(11) "firstMethod"
91
112
["class"]=>
92
113
string(5) "Apple"
93
114
}
94
115
[1]=>
95
-
&object(ReflectionMethod)#3 (2) {
116
+
object(ReflectionMethod)#3 (2) {
96
117
["name"]=>
97
118
string(12) "secondMethod"
98
119
["class"]=>
99
120
string(5) "Apple"
100
121
}
101
122
[2]=>
102
-
&object(ReflectionMethod)#4 (2) {
123
+
object(ReflectionMethod)#4 (2) {
103
124
["name"]=>
104
125
string(11) "thirdMethod"
105
126
["class"]=>
...
...
@@ -133,14 +154,14 @@ var_dump($methods);
133
154
<![CDATA[
134
155
array(2) {
135
156
[0]=>
136
-
&object(ReflectionMethod)#2 (2) {
157
+
object(ReflectionMethod)#2 (2) {
137
158
["name"]=>
138
159
string(12) "secondMethod"
139
160
["class"]=>
140
161
string(5) "Apple"
141
162
}
142
163
[1]=>
143
-
&object(ReflectionMethod)#3 (2) {
164
+
object(ReflectionMethod)#3 (2) {
144
165
["name"]=>
145
166
string(11) "thirdMethod"
146
167
["class"]=>
...
...
@@ -164,7 +185,6 @@ array(2) {
164
185
</refsect1>
165
186

166
187
</refentry>
167
-

168
188
<!-- Keep this comment at the end of the file
169
189
Local variables:
170
190
mode: sgml
171
191