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
  • ReflectionClass::isSubclassOf
  • interface_exists
  • Object Interfaces