« ReflectionEnumUnitCase::getValue
ReflectionEnumBackedCase::__construct »

ReflectionEnumBackedCase クラス

(PHP 8 >= 8.1.0)

はじめに

ReflectionEnumBackedCase クラスは、 Backed Enum の case に関する情報を報告します。 これは、スカラー型の情報を持っています。

クラス概要

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* 継承した定数 */
/* 継承したプロパティ */
public string $name;
public string $class;
/* メソッド */
public function __construct(object|string $class, string $constant)
public function getBackingValue(): int|string
/* 継承したメソッド */
public static function ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
public function ReflectionClassConstant::getAttributes(?string $name = null, int $flags = 0): array
}

目次

関連キーワード:
ReflectionClassConstant   ReflectionEnumBackedCase   ReflectionEnumUnitCase   getValue   construct   Enum   継承   Backed   case   スカラー   getBackingValue   mixed   リフレクション   報告   概要   extends   定数   プロパティ   constant   getEnum   ReflectionEnum   UnitEnum   static   export   return
関連する関数・ページ:
class.reflectionenumunitcase   reflectionenumbackedcase.construct   reflectionclassconstant.getvalue   reflectionclassconstant.construct   reflectionclassconstant.tostring   reflectionclassconstant.hastype