ReflectionClass
PHP Manual

ReflectionClass::implementsInterface

(PHP 5, PHP 7)

ReflectionClass::implementsInterfaceImplements interface

설명

public bool ReflectionClass::implementsInterface ( string $interface )

Checks whether it implements an interface.

인수

interface

The interface name.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고


ReflectionClass
PHP Manual