Skip to content

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.

MemberSignature
forClassforClass(string $name): ?Core\Reflect\ClassInfo
forObjectforObject(mixed $object): Core\Reflect\ClassInfo
typeOftypeOf(mixed $value): Core\Reflect::TypeKind
stepssteps(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.