検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 14 for getProperty (0.010 sec.)
クラスのプロパティを表す ReflectionProperty を取得する 13303
« ReflectionClass::getProperties ReflectionClass::getReflectionConstant » PHP Manual ReflectionC ... 表す ReflectionProperty を取得する ReflectionClass::getProperty (PHP 5, PHP 7, PHP 8) ReflectionClass::getProperty ... onProperty を取得する 説明 public ReflectionClass::getProperty ( string $name ): ReflectionProperty クラスのプロパ ... ctionProperty を返します。 例 例1 ReflectionClass::getProperty() の基本的な使用例 <?php $class = new ReflectionCl ... ass ( 'ReflectionClass' ); $property = $class -> getProperty ( 'name' ); var_dump ( $property ); ?> 上の例の出力 ...
https://man.plustar.jp/php/reflectionclass.getproperty.html - [similar]
デフォルト値が宣言されているかをチェックする 11658
« ReflectionProperty::getValue ReflectionProperty::hasType » PHP Manual ReflectionProperty デフォ ... w ReflectionObject (new Foo ()); var_dump ( $ro -> getProperty ( 'bar' )-> hasDefaultValue ()); var_dump ( $ro -> ... getProperty ( 'baz' )-> hasDefaultValue ()); var_dump ( $ro -> ... getProperty ( 'foo' )-> hasDefaultValue ()); var_dump ( $ro -> ... getProperty ( 'boing' )-> hasDefaultValue ()); var_dump ( $ro ...
https://man.plustar.jp/php/reflectionproperty.hasdefaultvalue.html - [similar]
プロパティで宣言されたデフォルト値を返す 9277
« ReflectionProperty::getDeclaringClass ReflectionProperty::getDocComment » PHP Manual Reflectio ... ReflectionClass ( Foo ::class); var_dump ( $ro -> getProperty ( 'bar' )-> getDefaultValue ()); var_dump ( $ro -> ... getProperty ( 'baz' )-> getDefaultValue ()); var_dump ( $ro -> ... getProperty ( 'boing' )-> getDefaultValue ()); ?> 上の例の出力 ...
https://man.plustar.jp/php/reflectionproperty.getdefaultvalue.html - [similar]
値を取得する 9102
« ReflectionProperty::getType ReflectionProperty::hasDefaultValue » PHP Manual ReflectionPropert ... ionClass ( 'Foo' ); var_dump ( $reflectionClass -> getProperty ( 'staticProperty' )-> getValue ()); var_dump ( $r ... eflectionClass -> getProperty ( 'property' )-> getValue (new Foo )); $reflection ... Property = $reflectionClass -> getProperty ( 'privateProperty' ); $reflectionProperty -> setA ...
https://man.plustar.jp/php/reflectionproperty.getvalue.html - [similar]
プロパティの値を設定する 9102
« ReflectionProperty::setAccessible ReflectionProperty::__toString » PHP Manual ReflectionProper ... new ReflectionClass ( 'Foo' ); $reflectionClass -> getProperty ( 'staticProperty' )-> setValue ( 'foo' ); var_dum ... icProperty ); $foo = new Foo ; $reflectionClass -> getProperty ( 'property' )-> setValue ( $foo , 'bar' ); var_du ... perty ); $reflectionProperty = $reflectionClass -> getProperty ( 'privateProperty' ); $reflectionProperty -> setA ...
https://man.plustar.jp/php/reflectionproperty.setvalue.html - [similar]
クラス定数の ReflectionClassConstant を取得する 8997
« ReflectionClass::getProperty ReflectionClass::getReflectionConstants » PHP Manual ReflectionCl ... , getReflectionConstant , getReflectionConstants , getProperty , public , string ...
https://man.plustar.jp/php/reflectionclass.getreflectionconstant.html - [similar]
デフォルトプロパティであるかどうかを調べる 8454
« ReflectionProperty::hasType ReflectionProperty::isInitialized » PHP Manual ReflectionProperty ... o = new ReflectionObject ( $o ); var_dump ( $ro -> getProperty ( 'bar' )-> isDefault ()); var_dump ( $ro -> getPr ...
https://man.plustar.jp/php/reflectionproperty.isdefault.html - [similar]
プロパティがコンストラクタの引数から昇格したものかを調べる 8367
« ReflectionProperty::isPrivate ReflectionProperty::isProtected » PHP Manual ReflectionProperty ... o = new ReflectionObject ( $o ); var_dump ( $ro -> getProperty ( 'bar' )-> isPromoted ()); var_dump ( $ro -> getP ...
https://man.plustar.jp/php/reflectionproperty.ispromoted.html - [similar]
プロパティを取得する 8279
« ReflectionClass::getParentClass ReflectionClass::getProperty » PHP Manual ReflectionClass プロ ... lass"]=> string(3) "Foo" } } 参考 ReflectionClass::getProperty() - クラスのプロパティを表す ReflectionProperty を ...
https://man.plustar.jp/php/reflectionclass.getproperties.html - [similar]
ReflectionClass クラス 7457
« Reflection::getModifierNames ReflectionClass::__construct » PHP Manual リフレクション Reflecti ... tProperties ( ? int $filter = null ): array public getProperty ( string $name ): ReflectionProperty public getRef ... Properties — プロパティを取得する ReflectionClass::getProperty — クラスのプロパティを表す ReflectionProperty を取 ...
https://man.plustar.jp/php/class.reflectionclass.html - [similar]
PREV 1 2 NEXT