« ReflectionClassConstant::isEnumCase
ReflectionClassConstant::isPrivate »

ReflectionClassConstant::isFinal

(PHP 8 >= 8.1.0)

ReflectionClassConstant::isFinal — クラス定数が final かどうかを調べる

説明

public function ReflectionClassConstant::isFinal(): bool

クラス定数が final かどうかを調べます。

パラメータ

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

戻り値

クラス定数が final の場合、true を返します。 そうでない場合、false を返します。

参考

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