Skip to content

Commit 4658c8e

Browse files
authored
Document the __toString() and export() related changes in ext/reflection (#2170)
1 parent 56f49b5 commit 4658c8e

13 files changed

+211
-84
lines changed

reference/reflection/reflectionclass.xml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,28 @@
150150
</section>
151151
<!-- }}} -->
152152

153-
154-
</partintro>
153+
<section role="changelog">
154+
&reftitle.changelog;
155+
<informaltable>
156+
<tgroup cols="2">
157+
<thead>
158+
<row>
159+
<entry>&Version;</entry>
160+
<entry>&Description;</entry>
161+
</row>
162+
</thead>
163+
<tbody>
164+
<row>
165+
<entry>8.0.0</entry>
166+
<entry>
167+
<methodname>ReflectionClass::export</methodname> was removed.
168+
</entry>
169+
</row>
170+
</tbody>
171+
</tgroup>
172+
</informaltable>
173+
</section>
174+
</partintro>
155175

156176
&reference.reflection.entities.reflectionclass;
157177

reference/reflection/reflectionclassconstant.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,27 @@
175175
</section>
176176
<!-- }}} -->
177177

178+
<section role="changelog">
179+
&reftitle.changelog;
180+
<informaltable>
181+
<tgroup cols="2">
182+
<thead>
183+
<row>
184+
<entry>&Version;</entry>
185+
<entry>&Description;</entry>
186+
</row>
187+
</thead>
188+
<tbody>
189+
<row>
190+
<entry>8.0.0</entry>
191+
<entry>
192+
<methodname>ReflectionClassConstant::export</methodname> was removed.
193+
</entry>
194+
</row>
195+
</tbody>
196+
</tgroup>
197+
</informaltable>
198+
</section>
178199
</partintro>
179200

180201
&reference.reflection.entities.reflectionclassconstant;

reference/reflection/reflectionextension.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,27 @@
7474
</section>
7575
<!-- }}} -->
7676

77-
77+
<section role="changelog">
78+
&reftitle.changelog;
79+
<informaltable>
80+
<tgroup cols="2">
81+
<thead>
82+
<row>
83+
<entry>&Version;</entry>
84+
<entry>&Description;</entry>
85+
</row>
86+
</thead>
87+
<tbody>
88+
<row>
89+
<entry>8.0.0</entry>
90+
<entry>
91+
<methodname>ReflectionExtension::export</methodname> was removed.
92+
</entry>
93+
</row>
94+
</tbody>
95+
</tgroup>
96+
</informaltable>
97+
</section>
7898
</partintro>
7999

80100
&reference.reflection.entities.reflectionextension;

reference/reflection/reflectionfunction.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,27 @@
8787
</section>
8888
<!-- }}} -->
8989

90-
90+
<section role="changelog">
91+
&reftitle.changelog;
92+
<informaltable>
93+
<tgroup cols="2">
94+
<thead>
95+
<row>
96+
<entry>&Version;</entry>
97+
<entry>&Description;</entry>
98+
</row>
99+
</thead>
100+
<tbody>
101+
<row>
102+
<entry>8.0.0</entry>
103+
<entry>
104+
<methodname>ReflectionFunction::export</methodname> was removed.
105+
</entry>
106+
</row>
107+
</tbody>
108+
</tgroup>
109+
</informaltable>
110+
</section>
91111
</partintro>
92112

93113
&reference.reflection.entities.reflectionfunction;

reference/reflection/reflectionmethod.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,27 @@
205205
</section>
206206
<!-- }}} -->
207207

208-
208+
<section role="changelog">
209+
&reftitle.changelog;
210+
<informaltable>
211+
<tgroup cols="2">
212+
<thead>
213+
<row>
214+
<entry>&Version;</entry>
215+
<entry>&Description;</entry>
216+
</row>
217+
</thead>
218+
<tbody>
219+
<row>
220+
<entry>8.0.0</entry>
221+
<entry>
222+
<methodname>ReflectionMethod::export</methodname> was removed.
223+
</entry>
224+
</row>
225+
</tbody>
226+
</tgroup>
227+
</informaltable>
228+
</section>
209229
</partintro>
210230

211231
&reference.reflection.entities.reflectionmethod;

reference/reflection/reflectionobject.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,28 @@
6060
<!-- }}} -->
6161

6262
</section>
63+
64+
<section role="changelog">
65+
&reftitle.changelog;
66+
<informaltable>
67+
<tgroup cols="2">
68+
<thead>
69+
<row>
70+
<entry>&Version;</entry>
71+
<entry>&Description;</entry>
72+
</row>
73+
</thead>
74+
<tbody>
75+
<row>
76+
<entry>8.0.0</entry>
77+
<entry>
78+
<methodname>ReflectionObject::export</methodname> was removed.
79+
</entry>
80+
</row>
81+
</tbody>
82+
</tgroup>
83+
</informaltable>
84+
</section>
6385
</partintro>
6486

6587
&reference.reflection.entities.reflectionobject;

reference/reflection/reflectionparameter.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,27 @@
8080
</section>
8181
<!-- }}} -->
8282

83-
83+
<section role="changelog">
84+
&reftitle.changelog;
85+
<informaltable>
86+
<tgroup cols="2">
87+
<thead>
88+
<row>
89+
<entry>&Version;</entry>
90+
<entry>&Description;</entry>
91+
</row>
92+
</thead>
93+
<tbody>
94+
<row>
95+
<entry>8.0.0</entry>
96+
<entry>
97+
<methodname>ReflectionParameter::export</methodname> was removed.
98+
</entry>
99+
</row>
100+
</tbody>
101+
</tgroup>
102+
</informaltable>
103+
</section>
84104
</partintro>
85105

86106
&reference.reflection.entities.reflectionparameter;

reference/reflection/reflectionproperty.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,28 @@
193193
</section>
194194
<!-- }}} -->
195195

196+
<section role="changelog">
197+
&reftitle.changelog;
198+
<informaltable>
199+
<tgroup cols="2">
200+
<thead>
201+
<row>
202+
<entry>&Version;</entry>
203+
<entry>&Description;</entry>
204+
</row>
205+
</thead>
206+
<tbody>
207+
<row>
208+
<entry>8.0.0</entry>
209+
<entry>
210+
<methodname>ReflectionProperty::export</methodname> was removed.
211+
</entry>
212+
</row>
213+
</tbody>
214+
</tgroup>
215+
</informaltable>
216+
</section>
217+
196218

197219
</partintro>
198220

reference/reflection/reflectionzendextension.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,27 @@
7272
</section>
7373
<!-- }}} -->
7474

75-
75+
<section role="changelog">
76+
&reftitle.changelog;
77+
<informaltable>
78+
<tgroup cols="2">
79+
<thead>
80+
<row>
81+
<entry>&Version;</entry>
82+
<entry>&Description;</entry>
83+
</row>
84+
</thead>
85+
<tbody>
86+
<row>
87+
<entry>8.0.0</entry>
88+
<entry>
89+
<methodname>ReflectionZendExtension::export</methodname> was removed.
90+
</entry>
91+
</row>
92+
</tbody>
93+
</tgroup>
94+
</informaltable>
95+
</section>
7696
</partintro>
7797

7898
&reference.reflection.entities.reflectionzendextension;

reference/reflection/reflector.xml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
<classname>Stringable</classname>
3737
</ooclass>
3838
</classsynopsisinfo>
39-
<!-- }}} -->
40-
41-
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
42-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflector')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
4339

4440
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
4541
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.stringable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Stringable'])">
@@ -64,16 +60,32 @@
6460
<row>
6561
<entry>8.0.0</entry>
6662
<entry>
67-
<classname>Reflector</classname> implements
68-
<interfacename>Stringable</interfacename> now.
63+
<methodname>Reflector::export</methodname> was removed.
64+
</entry>
65+
</row>
66+
<row>
67+
<entry>8.0.0</entry>
68+
<entry>
69+
<classname>Reflector</classname> extends
70+
<interfacename>Stringable</interfacename> now. It inherits
71+
<methodname>Stringable::__toString</methodname>, replacing
72+
<methodname>Reflector::__toString</methodname>.
6973
</entry>
7074
</row>
7175
</tbody>
7276
</tgroup>
7377
</informaltable>
7478
</section>
75-
</partintro>
7679

80+
<section role="seealso">
81+
&reftitle.seealso;
82+
<para>
83+
<simplelist>
84+
<member><methodname>Reflector::export</methodname></member>
85+
</simplelist>
86+
</para>
87+
</section>
88+
</partintro>
7789
&reference.reflection.entities.reflector;
7890

7991
</phpdoc:classref>

0 commit comments

Comments
 (0)