If the class doesn't have a property with the given name, a ReflectionException will be raised.
ReflectionClass::getProperty
(PHP 5)
ReflectionClass::getProperty — プロパティを取得する
説明
プロパティを取得します。
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
パラメータ
-
name -
プロパティの名前。
返り値
ReflectionProperty を返します。
eric at naeseth dot com
02-Aug-2011 03:38
