name); unset($this->class); } /** * @return non-empty-string */ public function __toString(): string { return $this->betterReflectionProperty->__toString(); } /** * @psalm-mutation-free */ public function getName(): string { return $this->betterReflectionProperty->getName(); } public function getValue(object|null $object = null): mixed { try { return $this->betterReflectionProperty->getValue($object); } catch (NoObjectProvided) { return null; } catch (Throwable $e) { throw new CoreReflectionException($e->getMessage(), previous: $e); } } /** * @psalm-suppress MethodSignatureMismatch */ public function setValue(mixed $objectOrValue, mixed $value = null): void { try { $this->betterReflectionProperty->setValue($objectOrValue, $value); } catch (NoObjectProvided) { throw new ArgumentCountError('ReflectionProperty::setValue() expects exactly 2 arguments, 1 given'); } catch (NotAnObject) { throw new TypeError(sprintf('ReflectionProperty::setValue(): Argument #1 ($objectOrValue) must be of type object, %s given', gettype($objectOrValue))); } catch (Throwable $e) { throw new CoreReflectionException($e->getMessage(), previous: $e); } } /** * @psalm-mutation-free */ public function hasType(): bool { return $this->betterReflectionProperty->hasType(); } /** * @psalm-mutation-free */ public function getType(): ReflectionUnionType|ReflectionNamedType|ReflectionIntersectionType|null { return ReflectionType::fromTypeOrNull($this->betterReflectionProperty->getType()); } /** * @psalm-mutation-free */ public function isPublic(): bool { return $this->betterReflectionProperty->isPublic(); } /** * @psalm-mutation-free */ public function isPrivate(): bool { return $this->betterReflectionProperty->isPrivate(); } /** * @psalm-mutation-free */ public function isProtected(): bool { return $this->betterReflectionProperty->isProtected(); } /** * @psalm-mutation-free */ public function isStatic(): bool { return $this->betterReflectionProperty->isStatic(); } /** * @psalm-mutation-free */ public function isDefault(): bool { return $this->betterReflectionProperty->isDefault(); } /** * @psalm-mutation-free */ public function getModifiers(): int { return $this->betterReflectionProperty->getModifiers(); } /** * @psalm-mutation-free */ public function getDeclaringClass(): ReflectionClass { return new ReflectionClass($this->betterReflectionProperty->getImplementingClass()); } /** * @psalm-mutation-free */ public function getDocComment(): string|false { return $this->betterReflectionProperty->getDocComment() ?? false; } /** * @infection-ignore-all * @psalm-mutation-free */ #[CodeCoverageIgnore] public function setAccessible(bool $accessible): void { } /** * @psalm-mutation-free */ public function hasDefaultValue(): bool { return $this->betterReflectionProperty->hasDefaultValue(); } /** * @psalm-mutation-free */ public function getDefaultValue(): mixed { return $this->betterReflectionProperty->getDefaultValue(); } public function isInitialized(object|null $object = null): bool { try { return $this->betterReflectionProperty->isInitialized($object); } catch (Throwable $e) { throw new CoreReflectionException($e->getMessage(), previous: $e); } } /** * @psalm-mutation-free */ public function isPromoted(): bool { return $this->betterReflectionProperty->isPromoted(); } /** * @param class-string|null $name * * @return list */ public function getAttributes(string|null $name = null, int $flags = 0): array { if ($flags !== 0 && $flags !== ReflectionAttribute::IS_INSTANCEOF) { throw new ValueError('Argument #2 ($flags) must be a valid attribute filter flag'); } if ($name !== null && $flags & ReflectionAttribute::IS_INSTANCEOF) { $attributes = $this->betterReflectionProperty->getAttributesByInstance($name); } elseif ($name !== null) { $attributes = $this->betterReflectionProperty->getAttributesByName($name); } else { $attributes = $this->betterReflectionProperty->getAttributes(); } return array_map(static fn (BetterReflectionAttribute $betterReflectionAttribute): ReflectionAttribute => new ReflectionAttribute($betterReflectionAttribute), $attributes); } /** * @psalm-mutation-free */ public function isReadOnly(): bool { return $this->betterReflectionProperty->isReadOnly(); } public function __get(string $name): mixed { if ($name === 'name') { return $this->betterReflectionProperty->getName(); } if ($name === 'class') { return $this->betterReflectionProperty->getImplementingClass()->getName(); } throw new OutOfBoundsException(sprintf('Property %s::$%s does not exist.', self::class, $name)); } } __halt_compiler();----SIGNATURE:----dwWYuGtkuP+bnflrHdBT4zalRBxADaDEziliV6ywge9kyYJh+YsHXYyZrbFwtqRsscufwAHx+/gM6tgMbachjYTGZk92ZeBVLrMB0TAoNq1xKZR49fczmJ8di7gkdAefwTvNwcOW4dxZ6O5+Htz0DQL8MfCoJXNcPcInOa27RVzxv6vpZppA/31UvqZ0qBX8J3X/cDjVOmCLneuZ1pKa6Oowp87w0Qus6bZ64WhAo9n/OK/4a0isUcQPPL7j2SiErkgCgw50GkoUV/c+7uMkIUCzEKwuwvUMPZ9J2aP3zuxC6BrxihL1JaFdr8/YIPeQCUglxysy4ZleJP1x6kGaxKPUsLZyaZxjIRpq3JqJrfMbXz4NnqYc6L7iwIfSKY9Q75Fk0oD49rQW7X/NwN3yd4cAthTibaLlyK8hVLhDaYIze5M7wQ3hhdAYTUKRhrRtpUrNA3l67MLlUnXqu990kgsl7dJGlNCFjZB9+e/yKdi+Gts9wMbwTMQss8N3PUPprab0c61jVKik6EoPZL0M7pH99+9npzO33Sca8V1LY9OXQmj4Y9Nl0+ki2CZaqLIjNTI0561jdFEknqjjWh1Hotr1IIo8K5z70XT15kxvJE7bBoEg1QU9D3zWzAz9ARcPxp+19Ud8iF5eroZfQg5F00T0KmWMGr/9/o3lQiU7aRc=----ATTACHMENT:----Nzk3ODkxNTY5NTU3ODc1MSA1NjYwNDYxMzg0OTE1NTExIDc4MzgwODU5NTEwNTk4MzU=