Skip to content

Commit

Permalink
Update CHANGELOG with details of the CasesIndexedByName Trait
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkBaker committed Jan 20, 2022
1 parent c96116f commit ecfc24b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `EnumHelper` will be documented in this file.

## 1.0.2 - 2022-01-20

- Added `CasesIndexedByName` trait, providing a `casesIndexedByName()` method to return an associative array of cases with the case name as the index, rather than an enumerated array that is returned by `cases()`.

## 1.0.1 - 2021-12-08

- Added `EnumValidatableCase` trait, providing an `isValidCase()` method to validate a string value against the set of case names defined for an enum.
Expand Down

0 comments on commit ecfc24b

Please sign in to comment.