mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
19fe5f0cb0
commit
a09f874049
2 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue