« ReflectionClassConstant::isPrivate
ReflectionClassConstant::isPublic »

ReflectionClassConstant::isProtected

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::isProtected — クラス定数が protected かを調べる

説明

public function ReflectionClassConstant::isProtected(): bool

クラス定数が protected かを調べます。

パラメータ

この関数にはパラメータはありません。

戻り値

クラス定数が protected なら true を返します。 そうでなければ false を返します。

参考

関連キーワード:
ReflectionClassConstant   定数   protected   isProtected   isPrivate   isPublic   参考   isFinal   final   private
関連する関数・ページ:
reflectionclassconstant.ispublic   reflectionclassconstant.isprivate   reflectionclassconstant.isfinal   reflectionclassconstant.getname   reflectionclassconstant.hastype   class.reflectionclassconstant