language/predefined/throwable.xml
09caff9ea664f7154a7d37e92b2c332c28462404
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<phpdoc:classref xml:id="class.throwable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
5
4

6
5
<title>Throwable</title>
...
...
@@ -13,7 +12,7 @@
13
12
&reftitle.intro;
14
13
<para>
15
14
<classname>Throwable</classname> is the base interface for any object that
16
-
can be thrown via a &throw; statement in PHP 7, including
15
+
can be thrown via a &throw; statement, including
17
16
<classname>Error</classname> and <classname>Exception</classname>.
18
17
</para>
19
18
<note>
...
...
@@ -30,24 +29,52 @@
30
29
&reftitle.interfacesynopsis;
31
30

32
31
<!-- {{{ Synopsis -->
33
-
<classsynopsis>
34
-
<ooclass><classname>Throwable</classname></ooclass>
32
+
<classsynopsis class="interface">
33
+
<oointerface>
34
+
<interfacename>Throwable</interfacename>
35
+
</oointerface>
35
36

36
-
<!-- {{{ Class synopsis -->
37
-
<classsynopsisinfo>
38
-
<ooclass>
39
-
<classname>Throwable</classname>
40
-
</ooclass>
41
-
</classsynopsisinfo>
42
-
<!-- }}} -->
37
+
<oointerface>
38
+
<modifier>extends</modifier>
39
+
<interfacename>Stringable</interfacename>
40
+
</oointerface>
43
41

44
42
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
45
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.throwable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
43
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.throwable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Throwable'])">
44
+
<xi:fallback/>
45
+
</xi:include>
46
+

47
+
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
48
+
<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'])">
49
+
<xi:fallback/>
50
+
</xi:include>
46
51
</classsynopsis>
47
52
<!-- }}} -->
48
53

49
54
</section>
50
55

56
+
<section role="changelog">
57
+
&reftitle.changelog;
58
+
<informaltable>
59
+
<tgroup cols="2">
60
+
<thead>
61
+
<row>
62
+
<entry>&Version;</entry>
63
+
<entry>&Description;</entry>
64
+
</row>
65
+
</thead>
66
+
<tbody>
67
+
<row>
68
+
<entry>8.0.0</entry>
69
+
<entry>
70
+
<classname>Throwable</classname> implements
71
+
<interfacename>Stringable</interfacename> now.
72
+
</entry>
73
+
</row>
74
+
</tbody>
75
+
</tgroup>
76
+
</informaltable>
77
+
</section>
51
78

52
79
</partintro>
53
80

...
...
@@ -60,7 +87,6 @@
60
87
&language.predefined.throwable.getprevious;
61
88
&language.predefined.throwable.tostring;
62
89
</phpdoc:classref>
63
-

64
90
<!-- Keep this comment at the end of the file
65
91
Local variables:
66
92
mode: sgml
67
93