ReflectionType クラス
ReflectionType
&reftitle.intro;
ReflectionType クラスは、
関数の引数や戻り値の型、
またはクラスのプロパティの型に関する情報を報告します。
リフレクション拡張モジュールでは、以下のサブクラスが宣言されています。
ReflectionNamedType (PHP 7.1.0 以降)
ReflectionUnionType (PHP 8.0.0 以降)
ReflectionIntersectionType (PHP 8.1.0 以降)
&reftitle.classsynopsis;
abstract
ReflectionType
implements
Stringable
&Methods;
&reftitle.changelog;
&Version;
&Description;
8.0.0
ReflectionType は、抽象クラスになり、
ReflectionType::isBuiltin は、
ReflectionNamedType::isBuiltin に移動しました。
&reference.reflection.entities.reflectiontype;