ReflectionClass::implementsInterface
(PHP 5)
ReflectionClass::implementsInterface — Implements interface
Beschreibung
public bool ReflectionClass::implementsInterface
( string
$interface
)Checks whether it implements an interface.
Parameter-Liste
-
interface -
The interface name.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- ReflectionClass::isInterface() - Checks if the class is an interface
- ReflectionClass::isSubclassOf() - Checks if a subclass
- interface_exists() - Prüft ob ein bestimmtes Interface definiert wurde
- Object Interfaces