« ReflectionClass::getMethods
ReflectionClass::getName »

ReflectionClass::getModifiers

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getModifiers — クラス修飾子を取得する

説明

public function ReflectionClass::getModifiers(): int

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

パラメータ

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

戻り値

修飾子定数 のビットマスクを返します。

参考

関連キーワード:
ReflectionClass   修飾   getModifiers   ビット   getMethods   getName   定数   マスク   参考   getProperties   プロパティ   Reflection   getModifierNames
関連する関数・ページ:
reflection.getmodifiernames   reflectionclass.getparentclass   reflectionclassconstant.getmodifiers   reflectionproperty.getmodifiers   reflectionmethod.getmodifiers   reflectionclass.getfilename