Skip to content

Releases: ekvedaras/php-enum

v1.3.0

30 Dec 10:41
Compare
Choose a tag to compare

Added

  • doctrine/collections ArrayCollection implementation

Updated

  • Change php requirement from ^7.2|^8 to >=7.2

v1.2.1

08 Sep 15:45
Compare
Choose a tag to compare

Updated

  • Allow illuminate/support v8

v1.2.0

07 Sep 20:42
Compare
Choose a tag to compare

Added

  • voku/arrayy Arrayy implementation

Updated

  • Rename ArrayAccessibleStorage to GenericArrayAccessibleStorage
  • Extract common methods to GenericArrayAccessibleObjectStorage

v1.1.1

02 Sep 13:13
Compare
Choose a tag to compare

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

31 Aug 05:39
Compare
Choose a tag to compare

Added

  • keyString static method to fetch as string, glued by comma by default

v1.0.1

30 Aug 15:59
Compare
Choose a tag to compare

Fixed

  • Make BaseEnum::$cache protected as it was left public.

v1.0.0

30 Aug 14:26
Compare
Choose a tag to compare

Added

  • Array and illuminate collection implementations