« ReflectionClassConstant::getDocComment
ReflectionClassConstant::getName »

ReflectionClassConstant::getModifiers

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getModifiers — クラス定数の修飾子を取得する

説明

public function ReflectionClassConstant::getModifiers(): int

クラス定数のアクセス修飾子のビットフィールドを返します。

パラメータ

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

戻り値

アクセス修飾子の数値表現を返します。 これらの修飾子の実際の意味は、 定義済みの定数 で説明しています。

参考

関連キーワード:
修飾   ReflectionClassConstant   定数   getModifiers   getDocComment   getName   ビット   数値   表現   実際   意味   参考   Reflection   getModifierNames
関連する関数・ページ:
reflectionclassconstant.getname   reflectionclassconstant.ispublic   reflection.getmodifiernames   reflectionclassconstant.isfinal   reflectionproperty.getmodifiers   reflectionclassconstant.hastype