diff --git a/reference/reflection/reflectionclass/implementsinterface.xml b/reference/reflection/reflectionclass/implementsinterface.xml index 8024ddb835..1392140df5 100644 --- a/reference/reflection/reflectionclass/implementsinterface.xml +++ b/reference/reflection/reflectionclass/implementsinterface.xml @@ -46,6 +46,7 @@ ReflectionClass::isInterface + ReflectionClass::isSubclassOf interface_exists Object Interfaces diff --git a/reference/reflection/reflectionclass/issubclassof.xml b/reference/reflection/reflectionclass/issubclassof.xml index 5337611877..642dc08a47 100644 --- a/reference/reflection/reflectionclass/issubclassof.xml +++ b/reference/reflection/reflectionclass/issubclassof.xml @@ -14,7 +14,8 @@ stringclass - 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. @@ -46,6 +47,7 @@ ReflectionClass::isInterface + ReflectionClass::implementsInterface is_subclass_of get_parent_class