*/ public function getHooks(): array {} public function hasHook(PropertyHookType $type): bool {} public function getHook(PropertyHookType $type): ?ReflectionMethod {} public function isFinal(): bool {} } /** @not-serializable */ class ReflectionClassConstant implements Reflector { /** @cvalue ZEND_ACC_PUBLIC */ public const int IS_PUBLIC = UNKNOWN; /** @cvalue ZEND_ACC_PROTECTED */ public const int IS_PROTECTED = UNKNOWN; /** @cvalue ZEND_ACC_PRIVATE */ public const int IS_PRIVATE = UNKNOWN; /** @cvalue ZEND_ACC_FINAL */ public const int IS_FINAL = UNKNOWN; public string $name; public string $class; /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} public function __construct(object|string $class, string $constant) {} public function __toString(): string {} /** @tentative-return-type */ public function getName(): string {} /** @tentative-return-type */ public function getValue(): mixed {} /** @tentative-return-type */ public function isPublic(): bool {} /** @tentative-return-type */ public function isPrivate(): bool {} /** @tentative-return-type */ public function isProtected(): bool {} public function isFinal(): bool {} /** @tentative-return-type */ public function getModifiers(): int {} /** @tentative-return-type */ public function getDeclaringClass(): ReflectionClass {} /** @tentative-return-type */ public function getDocComment(): string|false {} public function getAttributes(?string $name = null, int $flags = 0): array {} public function isEnumCase(): bool {} public function isDeprecated(): bool {} public function hasType(): bool {} public function getType(): ?ReflectionType {} } /** @not-serializable */ class ReflectionParameter implements Reflector { public string $name; /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} /** @param string|array|object $function */ public function __construct($function, int|string $param) {} public function __toString(): string {} /** @tentative-return-type */ public function getName(): string {} /** @tentative-return-type */ public function isPassedByReference(): bool {} /** @tentative-return-type */ public function canBePassedByValue(): bool {} /** @tentative-return-type */ public function getDeclaringFunction(): ReflectionFunctionAbstract {} /** @tentative-return-type */ public function getDeclaringClass(): ?ReflectionClass {} /** * @tentative-return-type */ #[\Deprecated(since: '8.0', message: "use ReflectionParameter::getType() instead")] public function getClass(): ?ReflectionClass {} /** @tentative-return-type */ public function hasType(): bool {} /** @tentative-return-type */ public function getType(): ?ReflectionType {} /** * @tentative-return-type */ #[\Deprecated(since: '8.0', message: "use ReflectionParameter::getType() instead")] public function isArray(): bool {} /** * @tentative-return-type */ #[\Deprecated(since: '8.0', message: "use ReflectionParameter::getType() instead")] public function isCallable(): bool {} /** @tentative-return-type */ public function allowsNull(): bool {} /** @tentative-return-type */ public function getPosition(): int {} /** @tentative-return-type */ public function isOptional(): bool {} /** @tentative-return-type */ public function isDefaultValueAvailable(): bool {} /** @tentative-return-type */ public function getDefaultValue(): mixed {} /** @tentative-return-type */ public function isDefaultValueConstant(): bool {} /** @tentative-return-type */ public function getDefaultValueConstantName(): ?string {} /** @tentative-return-type */ public function isVariadic(): bool {} public function isPromoted(): bool {} public function getAttributes(?string $name = null, int $flags = 0): array {} } /** @not-serializable */ abstract class ReflectionType implements Stringable { /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} /** @tentative-return-type */ public function allowsNull(): bool {} public function __toString(): string {} } class ReflectionNamedType extends ReflectionType { /** @tentative-return-type */ public function getName(): string {} /** @tentative-return-type */ public function isBuiltin(): bool {} } class ReflectionUnionType extends ReflectionType { public function getTypes(): array {} } class ReflectionIntersectionType extends ReflectionType { public function getTypes(): array {} } /** @not-serializable */ class ReflectionExtension implements Reflector { public string $name; /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} public function __construct(string $name) {} public function __toString(): string {} /** @tentative-return-type */ public function getName(): string {} /** @tentative-return-type */ public function getVersion(): ?string {} /** @tentative-return-type */ public function getFunctions(): array {} /** @tentative-return-type */ public function getConstants(): array {} /** @tentative-return-type */ public function getINIEntries(): array {} /** @tentative-return-type */ public function getClasses(): array {} /** @tentative-return-type */ public function getClassNames(): array {} /** @tentative-return-type */ public function getDependencies(): array {} /** @tentative-return-type */ public function info(): void {} /** @tentative-return-type */ public function isPersistent(): bool {} /** @tentative-return-type */ public function isTemporary(): bool {} } /** @not-serializable */ class ReflectionZendExtension implements Reflector { public string $name; /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} public function __construct(string $name) {} public function __toString(): string {} /** @tentative-return-type */ public function getName(): string {} /** @tentative-return-type */ public function getVersion(): string {} /** @tentative-return-type */ public function getAuthor(): string {} /** @tentative-return-type */ public function getURL(): string {} /** @tentative-return-type */ public function getCopyright(): string {} } /** @not-serializable */ final class ReflectionReference { public static function fromArrayElement(array $array, int|string $key): ?ReflectionReference {} public function getId(): string {} /** @implementation-alias ReflectionClass::__clone */ private function __clone(): void {} private function __construct() {} } /** @not-serializable */ class ReflectionAttribute implements Reflector { /** @cvalue REFLECTION_ATTRIBUTE_IS_INSTANCEOF */ public const int IS_INSTANCEOF = UNKNOWN; public string $name; public function getName(): string {} public function getTarget(): int {} public function isRepeated(): bool {} public function getArguments(): array {} public function newInstance(): object {} public function __toString(): string {} private function __clone(): void {} private function __construct() {} } class ReflectionEnum extends ReflectionClass { public function __construct(object|string $objectOrClass) {} public function hasCase(string $name): bool {} public function getCase(string $name): ReflectionEnumUnitCase {} public function getCases(): array {} public function isBacked(): bool {} public function getBackingType(): ?ReflectionNamedType {} } class ReflectionEnumUnitCase extends ReflectionClassConstant { public function __construct(object|string $class, string $constant) {} public function getEnum(): ReflectionEnum {} /** @implementation-alias ReflectionClassConstant::getValue */ public function getValue(): UnitEnum {} } class ReflectionEnumBackedCase extends ReflectionEnumUnitCase { public function __construct(object|string $class, string $constant) {} public function getBackingValue(): int|string {} } /** @not-serializable */ final class ReflectionFiber { public function __construct(Fiber $fiber) {} public function getFiber(): Fiber {} public function getExecutingFile(): ?string {} public function getExecutingLine(): ?int {} public function getCallable(): callable {} public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array {} } /** * @strict-properties * @not-serializable */ final class ReflectionConstant implements Reflector { public string $name; public function __construct(string $name) {} public function getName(): string {} public function getNamespaceName(): string {} public function getShortName(): string {} public function getValue(): mixed {} public function isDeprecated(): bool {} public function getFileName(): string|false {} public function getExtension(): ?ReflectionExtension {} public function getExtensionName(): string|false {} public function __toString(): string {} }