ReflectionClassConstant::isProtected
(PHP 7 >= 7.1.0)
ReflectionClassConstant::isProtected — クラス定数が protected かを調べる
説明
public ReflectionClassConstant::isProtected ( ) : bool
クラス定数が protected かを調べます。
パラメータ
この関数にはパラメータはありません。
返り値
クラス定数が protected なら true
を返します。
そうでなければ false
を返します。
参考
- ReflectionClassConstant::isPublic() - クラス定数が public かを調べる
- ReflectionClassConstant::isPrivate() - クラス定数がprivateかを調べる