Commit graph

5 commits

Author SHA1 Message Date
Jérémy Munsch
a79173ec38 fixed performances issue on toValues and toLabels 2021-03-03 09:42:24 +01:00
Jérémy Munsch
45a1ccd27f Breaking change
BaseEnum to Array indexes where cast to integers
  This would break enum values that where numeric strings
  ToArray now returns a list of BaseEnums
2021-03-02 21:24:04 +01:00
Jérémy Munsch
43e8dff61c Fix wrong namespace usage in castsEnums.php 2021-03-01 14:28:40 +01:00
Jérémy Munsch
4ae3642259 Add trait Cast Enum 2021-03-01 12:15:43 +01:00
Jérémy Munsch
f6d042b16c Initial commit 2021-03-01 07:55:10 +01:00