« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 44 for ReflectionClassConstant (0.001 sec.)
ReflectionEnumUnitCase クラス | PHP 8.3 11680
ReflectionEnumUnitCase クラス (PHP 8 >= 8.1.0) はじめに ReflectionEnumUnitCase クラスは、 列挙型 の case に関する情報を報告します。 これは、スカラー型の情報を持っていません。 クラス概要 class ReflectionEnumUnitCase extends ReflectionClassConstant ... nstant { /* 継承した定数 */ public const int ReflectionClassConstant::IS_PUBLIC ; public const int ReflectionClassConstant::IS_PROTECTED ; public const int ReflectionClassConstant::IS_PRIVATE ... ; public const int ReflectionClassConstant::IS_FINAL ; /* 継承したプロパティ */ public string $ name ; public string $ class ; /* メソッド */ public function __const ... ic function getEnum (): ReflectionEnum public function getValue (): UnitEnum /* 継承したメソッド */ public static function ReflectionClassConstant::export ( mixed $class , string $name , bool $return = ? ): string public function ReflectionClassConstant::getAttributes ...
https://man.mtool.work/php/8.3/class.reflectionenumunitcase.html
ReflectionEnumBackedCase クラス | PHP 8.3 11603
ReflectionEnumBackedCase クラス (PHP 8 >= 8.1.0) はじめに ReflectionEnumBackedCase クラスは、 Backed Enum の case に関する情報を報告します。 これは、スカラー型の情報を持っています。 クラス概要 class ReflectionEnumBackedCase extends Reflecti ... onEnumUnitCase { /* 継承した定数 */ public const int ReflectionClassConstant::IS_PUBLIC ; public const int ReflectionClassConstant::IS_PROTECTED ; public const int ReflectionClassConstant::IS_PRIVATE ... ; public const int ReflectionClassConstant::IS_FINAL ; /* 継承したプロパティ */ public string $ name ; public string $ class ; /* メソッド */ public function __const ... mUnitCase::getEnum (): ReflectionEnum public function ReflectionEnumUnitCase::getValue (): UnitEnum public static function ReflectionClassConstant::export ( mixed $class , string $name , bool $return = ? ): string public function ReflectionClassConstant::getAttributes ...
https://man.mtool.work/php/8.3/class.reflectionenumbackedcase.html
ReflectionClassConstant クラス | PHP 8.3 11572
ReflectionClassConstant クラス (PHP 7 >= 7.1.0, PHP 8) はじめに ReflectionClassConstant クラスは、クラス定数に関する情報を報告します。 クラス概要 class ReflectionClassConstant implements Reflector { /* 定数 */ public const int IS_PUBLIC ; p ... クラス定数が定義されたクラス名。読み取り専用です。 書き込もうとすると ReflectionException がスローされます。 定義済み定数 ReflectionClassConstant の修飾子 ReflectionClassConstant::IS_PUBLIC int アクセス権が public であることを示します。 PHP 7.4.0 より前のバージョンでは ... 、この値は 256 でした。 ReflectionClassConstant::IS_PROTECTED int アクセス権が protected であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 512 でした。 Re ... stant::IS_PRIVATE int アクセス権が private であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 1024 でした。 ReflectionClassConstant::IS_FINAL int 定数が final であることを示します。 PHP 8.1.0 以降で利用可能です。 注意 : これらの定数の値は、PHP のバージョ ...
https://man.mtool.work/php/8.3/class.reflectionclassconstant.html
ReflectionClassConstant::__toString — ReflectionClassConstant オブジェクトの文... 9374
ReflectionClassConstant::__toString (PHP 7 >= 7.1.0, PHP 8) ReflectionClassConstant::__toString — ReflectionClassConstant オブジェクトの文字列表現を返す 説明 public function ReflectionClassConstant::__toString (): string ReflectionClassConstant ... tant オブジェクトの文字列表現を返します。 パラメータ この関数にはパラメータはありません。 戻り値 この ReflectionClassConstant インスタンスの文字列表現を返します。 変更履歴 バージョン 説明 8.4.0 付加された doc comment が含まれるようになりました。 参 ...
https://man.mtool.work/php/8.3/reflectionclassconstant.tostring.html
ReflectionClassConstant::isProtected — クラス定数が protected かを調べる | PHP ... 9313
ReflectionClassConstant::isProtected (PHP 7 >= 7.1.0, PHP 8) ReflectionClassConstant::isProtected — クラス定数が protected かを調べる 説明 public function ReflectionClassConstant::isProtected (): bool クラス定数が protected かを調べます。 パ ... 関数にはパラメータはありません。 戻り値 クラス定数が protected なら true を返します。 そうでなければ false を返します。 参考 ReflectionClassConstant::isFinal() - クラス定数が final かどうかを調べる ReflectionClassConstant::isPublic() - クラス定数が public かを調べる Refl ...
https://man.mtool.work/php/8.3/reflectionclassconstant.isprotected.html
ReflectionClassConstant::isFinal — クラス定数が final かどうかを調べる | PHP 8.... 9267
ReflectionClassConstant::isFinal (PHP 8 >= 8.1.0) ReflectionClassConstant::isFinal — クラス定数が final かどうかを調べる 説明 public function ReflectionClassConstant::isFinal (): bool クラス定数が final かどうかを調べます。 パラメータ この関 ... 数にはパラメータはありません。 戻り値 クラス定数が final の場合、 true を返します。 そうでない場合、 false を返します。 参考 ReflectionClassConstant::isPublic() - クラス定数が public かを調べる ReflectionClassConstant::isPrivate() - クラス定数がprivateかを調べる Reflecti ...
https://man.mtool.work/php/8.3/reflectionclassconstant.isfinal.html
ReflectionClassConstant::isPrivate — クラス定数がprivateかを調べる | PHP 8.3 9082
ReflectionClassConstant::isPrivate (PHP 7 >= 7.1.0, PHP 8) ReflectionClassConstant::isPrivate — クラス定数がprivateかを調べる 説明 public function ReflectionClassConstant::isPrivate (): bool クラス定数がprivateかを調べます。 パラメータ この ... 関数にはパラメータはありません。 戻り値 クラス定数が private なら true を返します。 そうでないなら false を返します。 参考 ReflectionClassConstant::isFinal() - クラス定数が final かどうかを調べる ReflectionClassConstant::isPublic() - クラス定数が public かを調べる Refl ...
https://man.mtool.work/php/8.3/reflectionclassconstant.isprivate.html
ReflectionClassConstant::isPublic — クラス定数が public かを調べる | PHP 8.3 9082
ReflectionClassConstant::isPublic (PHP 7 >= 7.1.0, PHP 8) ReflectionClassConstant::isPublic — クラス定数が public かを調べる 説明 public function ReflectionClassConstant::isPublic (): bool クラス定数が public かを調べます。 パラメータ この関 ... 数にはパラメータはありません。 戻り値 クラス定数が public なら true を返します。 そうでないなら、 false を返します。 参考 ReflectionClassConstant::isFinal() - クラス定数が final かどうかを調べる ReflectionClassConstant::isPrivate() - クラス定数がprivateかを調べる Refl ...
https://man.mtool.work/php/8.3/reflectionclassconstant.ispublic.html
ReflectionClass::getReflectionConstant — クラス定数の ReflectionClassConstant |... 9005
ReflectionClass::getReflectionConstant (PHP 7 >= 7.1.0, PHP 8) ReflectionClass::getReflectionConstant — クラス定数の ReflectionClassConstant を取得する 説明 public function ReflectionClass::getReflectionConstant ( string $name ): ReflectionClassConstant ... ClassConstant | false クラス定数の ReflectionClassConstant を取得します。 パラメータ name クラス定数の名前 戻り値 ReflectionClassConstant を返します。 失敗した場合に false を返します ... 参考 ReflectionClass::getReflectionConstants() - クラス定数を取得する ReflectionClassConstant ...
https://man.mtool.work/php/8.3/reflectionclass.getreflectionconstant.html
ReflectionClassConstant::isDeprecated — クラス定数が非推奨かどうかを調べる | PH... 8975
ReflectionClassConstant::isDeprecated (PHP 8 >= 8.4.0) ReflectionClassConstant::isDeprecated — クラス定数が非推奨かどうかを調べる 説明 public function ReflectionClassConstant::isDeprecated (): bool クラス定数が非推奨かどうかを調べます。 パラ ... メータ この関数にはパラメータはありません。 戻り値 クラス定数が非推奨なら true を、そうでなければ false を返します。 例 例1 ReflectionClassConstant::isDeprecated() の例 <?php class Basket { #[ \Deprecated ( message : 'use Basket::APPLE instead' )] public const APLE = 'a ... pple' ; public const APPLE = 'apple' ; } $classConstant = new ReflectionClassConstant ( 'Basket' , 'APLE' ); var_dump ( $classConstant -> isDeprecated ()); ?> 上の例の出力は以下となります。 bool(true) 参考 De ... precated ReflectionClassConstant::getDocComment() - クラス定数のドキュメントコメントを取得する ...
https://man.mtool.work/php/8.3/reflectionclassconstant.isdeprecated.html
PREV 1 2 3 4 5 NEXT