The ReflectionType class

(PHP 7, PHP 8)

Вступ

The ReflectionType class reports information about a function's parameter/return type or a class's property type. The Reflection extension declares the following subtypes:

Короткий огляд класу

abstract class ReflectionType implements Stringable {
/* Методи */
public allowsNull(): bool
public __toString(): string
}

Журнал змін

Версія Опис
8.0.0 ReflectionType has become abstract and ReflectionType::isBuiltin() has been moved to ReflectionNamedType::isBuiltin().

Зміст