implements |
Reflector |
---|
Methods | ||
---|---|---|
public
|
__construct(object|string $class, string $property)
|
# |
public
|
__toString(): string
|
# |
public
|
getName(): string
|
# |
public
|
getValue(?object $object = null): mixed
|
# |
public
|
setValue(mixed $objectOrValue, mixed $value = UNKNOWN): void
|
# |
public
|
getRawValue(object $object): mixed
|
# |
public
|
setRawValue(object $object, mixed $value): void
|
# |
public
|
setRawValueWithoutLazyInitialization(object $object, mixed $value): void
|
# |
public
|
skipLazyInitialization(object $object): void
|
# |
public
|
isInitialized(?object $object = null): bool
|
# |
public
|
isPublic(): bool
|
# |
public
|
isPrivate(): bool
|
# |
public
|
isProtected(): bool
|
# |
public
|
isPrivateSet(): bool
|
# |
public
|
isProtectedSet(): bool
|
# |
public
|
isStatic(): bool
|
# |
public
|
isReadOnly(): bool
|
# |
public
|
isDefault(): bool
|
# |
public
|
isDynamic(): bool
|
# |
public
|
isAbstract(): bool
|
# |
public
|
isVirtual(): bool
|
# |
public
|
isPromoted(): bool
|
# |
public
|
getModifiers(): int
|
# |
public
|
getDeclaringClass(): ReflectionClass
|
# |
public
|
getDocComment(): string|false
|
# |
public
|
setAccessible(bool $accessible): void
|
# |
public
|
getType(): ReflectionType|null
|
# |
public
|
getSettableType(): ?ReflectionType
|
# |
public
|
hasType(): bool
|
# |
public
|
hasDefaultValue(): bool
|
# |
public
|
getDefaultValue(): mixed
|
# |
public
|
getAttributes(?string $name = null, int $flags = 0): ReflectionAttribute[]
|
# |
public
|
hasHooks(): bool
|
# |
public
|
getHooks(): array<string, ReflectionMethod>
|
# |
public
|
hasHook(PropertyHookType $type): bool
|
# |
public
|
getHook(PropertyHookType $type): ?ReflectionMethod
|
# |
public
|
isFinal(): bool
|
# |
Constants | ||
---|---|---|
public
|
IS_STATIC = UNKNOWN
|
# |
public
|
IS_READONLY = UNKNOWN
|
# |
public
|
IS_PUBLIC = UNKNOWN
|
# |
public
|
IS_PROTECTED = UNKNOWN
|
# |
public
|
IS_PRIVATE = UNKNOWN
|
# |
public
|
IS_ABSTRACT = UNKNOWN
|
# |
public
|
IS_PROTECTED_SET = UNKNOWN
|
# |
public
|
IS_PRIVATE_SET = UNKNOWN
|
# |
public
|
IS_FINAL = UNKNOWN
|
# |