ReflectionClass::isSubclassOf
(PHP 5)
ReflectionClass::isSubclassOf — Checks if a subclass
Descrição
public bool ReflectionClass::isSubclassOf
( string
$class
)Checks if the class is a subclass of a specified class or implements a specified interface.
Parâmetros
-
class -
The class name being checked against.
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
Veja Também
- ReflectionClass::isInterface() - Checks if the class is an interface
- ReflectionClass::implementsInterface() - Implements interface
- is_subclass_of() - Verifica se o objeto tem esta classe como uma de suas classes pai
- get_parent_class() - Recupera o nome da classe pai para o objeto ou classe