reference/reflection/reflectionclass/implementsinterface.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.implementsinterface" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionClass::implementsInterface</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>bool</type><methodname>ReflectionClass::implementsInterface</methodname>
14
-
<methodparam><type>string</type><parameter>interface</parameter></methodparam>
13
+
<methodparam><type class="union"><type>ReflectionClass</type><type>string</type></type><parameter>interface</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Checks whether it implements an interface.
...
...
@@ -41,6 +40,15 @@
41
40
</para>
42
41
</refsect1>
43
42

43
+
<refsect1 role="errors">
44
+
&reftitle.errors;
45
+
<para>
46
+
<methodname>ReflectionClass::implementsInterface</methodname> throws an
47
+
<classname>ReflectionException</classname> if <parameter>interface</parameter>
48
+
is not an interface.
49
+
</para>
50
+
</refsect1>
51
+

44
52
<refsect1 role="seealso">
45
53
&reftitle.seealso;
46
54
<para>
...
...
@@ -54,7 +62,6 @@
54
62
</refsect1>
55
63

56
64
</refentry>
57
-

58
65
<!-- Keep this comment at the end of the file
59
66
Local variables:
60
67
mode: sgml
61
68