ReflectionClass::implementsInterface

(PHP 5, PHP 7)

ReflectionClass::implementsInterfaceImplements interface

Descrição

public ReflectionClass::implementsInterface ( string $interface ) : bool

Checks whether it implements an interface.

Parâmetros

interface

The interface name.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

Veja Também