ReflectionClass
PHP Manual

ReflectionClass::implementsInterface

(PHP 5)

ReflectionClass::implementsInterfaceImplements interface

Описание

public bool ReflectionClass::implementsInterface ( string $interface )

Checks whether it implements an interface.

Параметри

interface

The interface name.

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.

Вж. също


ReflectionClass
PHP Manual