ReflectionProperty クラス
(PHP 5)
導入
ReflectionProperty クラスは クラスのプロパティについての情報を報告します。
クラス概要
プロパティ
- name
-
プロパティ名。読み込み専用で、書き込もうとすると ReflectionException をスローします。
- class
-
プロパティが定義されているクラス名。読み込み専用で、書き込もうとすると ReflectionException をスローします。
目次
- ReflectionProperty::__clone — クローンする
- ReflectionProperty::__construct — ReflectionProperty オブジェクトを作成する
- ReflectionProperty::export — エクスポートする
- ReflectionProperty::getDeclaringClass — 宣言しているクラスを取得する
- ReflectionProperty::getDocComment — ドキュメントコメントを取得する
- ReflectionProperty::getModifiers — 修飾子を取得する
- ReflectionProperty::getName — プロパティ名を取得する
- ReflectionProperty::getValue — 値を取得する
- ReflectionProperty::isDefault — デフォルト値であるかどうかを調べる
- ReflectionProperty::isPrivate — private プロパティであるかどうかを調べる
- ReflectionProperty::isProtected — protected プロパティであるかどうかを調べる
- ReflectionProperty::isPublic — public プロパティであるかどうかを調べる
- ReflectionProperty::isStatic — 静的プロパティであるかどうかを調べる
- ReflectionProperty::setAccessible — プロパティのアクセス範囲を設定する
- ReflectionProperty::setValue — プロパティの値を設定する
- ReflectionProperty::__toString — 文字列に変換する