Core\Reflect\ClassInfo
One class, as Core\Reflect::forClass and Core\Reflect::forObject return it. properties, methods, constants and attributes list what the class declares. get, set, call and construct use a class whose name is only known at run time.
Returned by
You get a Core\Reflect\ClassInfo from these methods:
Members
14 members.
| Member | Signature |
|---|---|
name | name(): string |
properties | properties(): array<Core\Reflect\PropertyInfo> |
readableProperties | readableProperties(): array<string> |
hasProperty | hasProperty(string $name): bool |
methods | methods(): array<Core\Reflect\MethodInfo> |
constants | constants(): array<Core\Reflect\ConstantInfo> |
constant | constant(string $name): mixed |
hasMethod | hasMethod(string $name): bool |
attributes | attributes(): array<Core\Reflect\AttributeInfo> |
parent | parent(): ?string |
get | get(mixed $object, string $name): mixed |
set | set(mixed $object, string $name, mixed $value): void |
call | call(mixed $object, string $name, array<mixed> $arguments): mixed |
construct | construct(array<mixed> $arguments): mixed |
