ReflectionClass::implementsInterface
(PHP 5)
ReflectionClass::implementsInterface — Implements interface
説明
public bool ReflectionClass::implementsInterface
( string $interface
)
Checks whether it implements an interface.
パラメータ
- interface
-
The interface name.
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- ReflectionClass::isInterface - Checks if interface
- interface_exists() - インターフェースが宣言されているかどうかを確認する
- Object Interfaces
ReflectionClass::implementsInterface
There are no user contributed notes for this page.
