dev\winterframework\bombok, dev\winterframework\type, and dev\winterframework\util.
bombok\Data trait
The Data trait provides automatic getter and setter methods similar to Java Lombok. Use the trait in your class and access properties via getFieldName() and setFieldName().
Objects::hash()
A simple wrapper around PHP’s spl_object_hash() for consistent object hashing.
Typed lists
Winter Boot provides typed list implementations for type-safe collections.ArrayList
Base class for typed lists with ArrayAccess, Countable, and IteratorAggregate support.
StringList
A list specifically for strings with type validation.
ofValues(...$values)creates a list from variadic argumentsofArray(array $values)creates a list from an arrayemptyList()returns the singleton empty list
ImmutableMap
A read-only map implementing ImmutableCollection.
IntegerMinHeap
A min-heap implementation built on SplHeap.
TypeAssert
Highly reusable type validation methods used throughout the framework.
MurmurHash3Provider
MurmurHash3 hash implementation for consistent, non-cryptographic hashing.
HashProvider interface for swappable hash strategies.