ReflectionMethod クラス ReflectionMethod
&reftitle.intro; ReflectionMethod クラスは メソッドについての情報を報告します。
&reftitle.classsynopsis; ReflectionMethod ReflectionMethod extends ReflectionFunctionAbstract &Constants; public const int ReflectionMethod::IS_STATIC public const int ReflectionMethod::IS_PUBLIC public const int ReflectionMethod::IS_PROTECTED public const int ReflectionMethod::IS_PRIVATE public const int ReflectionMethod::IS_ABSTRACT public const int ReflectionMethod::IS_FINAL &Properties; public string class &InheritedProperties; &Methods; &InheritedMethods;
&reftitle.properties; name メソッド名 class クラス名
&reftitle.constants;
ReflectionMethod の修飾子 ReflectionMethod::IS_STATIC メソッドが static であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 1 でした。 ReflectionMethod::IS_PUBLIC メソッドが public であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 256 でした。 ReflectionMethod::IS_PROTECTED メソッドが protected であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 512 でした。 ReflectionMethod::IS_PRIVATE メソッドが private であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 1024 でした。 ReflectionMethod::IS_ABSTRACT メソッドが abstract であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 2 でした。 ReflectionMethod::IS_FINAL メソッドが final であることを示します。 PHP 7.4.0 より前のバージョンでは、この値は 4 でした。 これらの定数の値は、PHP のバージョンが異なると変更される可能性があります。 これらの値を直接用いず、常に定数を使うことを推奨します。
&reference.reflection.entities.reflectionmethod;