Releases: ekvedaras/php-enum
Releases · ekvedaras/php-enum
v1.3.0
Added
doctrine/collections
ArrayCollection
implementation
Updated
- Change
php
requirement from ^7.2|^8
to >=7.2
v1.2.1
Updated
- Allow
illuminate/support
v8
v1.2.0
Added
voku/arrayy
Arrayy
implementation
Updated
- Rename
ArrayAccessibleStorage
to GenericArrayAccessibleStorage
- Extract common methods to
GenericArrayAccessibleObjectStorage
v1.1.1
Fixed
- There was an issue when calling
Enum::option1()
and then calling Enum::from('option2')
, option2
was not registered.
Updated
- Use
static::clas
instead of get_called_class()
- Use
static::$cache
instead of self::$cache
v1.1.0
Added
keyString
static method to fetch as string, glued by comma by default
v1.0.1
Fixed
- Make
BaseEnum::$cache
protected as it was left public.
v1.0.0
Added
- Array and illuminate collection implementations