Core\Reflect
Describes a value or a class while the program runs. typeOf returns what kind of value you have. forClass and forObject return a Core\Reflect\ClassInfo with the class's properties, methods, constants and attributes.
Members
4 members.
| Member | Signature |
|---|---|
forClass | forClass(string $name): ?Core\Reflect\ClassInfo |
forObject | forObject(mixed $object): Core\Reflect\ClassInfo |
typeOf | typeOf(mixed $value): Core\Reflect::TypeKind |
steps | steps(propertyPath<T> $path): array<Core\Reflect\PropertyInfo> |
Enums
TypeKindThe kind of a value while the program runs. There are ten cases, and every value matches exactly one of them.
