ReflectionClass::implementsInterface

Implements interface

Description

public bool ReflectionClass::implementsInterface ( string $interface )

Checks whether it implements an interface.

Parameters

interface

The interface name.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

  • ReflectionClass::isInterface
  • ReflectionClass::isSubclassOf
  • interface_exists
  • Object Interfaces