ReflectionClass::isSubclassOf() checks also interfaces

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324630 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-03-30 11:06:21 +00:00
parent 19fe5f0cb0
commit a09f874049
2 changed files with 4 additions and 1 deletions

View file

@ -46,6 +46,7 @@
<para>
<simplelist>
<member><methodname>ReflectionClass::isInterface</methodname></member>
<member><methodname>ReflectionClass::isSubclassOf</methodname></member>
<member><function>interface_exists</function></member>
<member><link linkend="language.oop5.interfaces">Object Interfaces</link></member>
</simplelist>

View file

@ -14,7 +14,8 @@
<methodparam><type>string</type><parameter>class</parameter></methodparam>
</methodsynopsis>
<para>
Checks if the class is a subclass of a specified class.
Checks if the class is a subclass of a specified class or implements
a specified interface.
</para>
</refsect1>
@ -46,6 +47,7 @@
<para>
<simplelist>
<member><methodname>ReflectionClass::isInterface</methodname></member>
<member><methodname>ReflectionClass::implementsInterface</methodname></member>
<member><function>is_subclass_of</function></member>
<member><function>get_parent_class</function></member>
</simplelist>