ReflectionType 类
ReflectionType
&reftitle.intro;
ReflectionType 类报告有关函数的参数/返回类型以及类的属性类型的信息。Reflection
扩展声明了以下子类型:
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;