Releases: greg0ire/enum
More is more
Lots of goodies for symfony components users thanks to @soullivaneuh ! A form type and a validation constraints were added. This is a minor release according to semver, but it comes with deprecations, check them out if you want to make your migration to 3.0 less painful
Less is more
Thanks to @soullivaneuh isValidValue
's signature is simplified to drop the $strict
parameter, that does not seem very useful. Also, a new getKeys
method was added to get all constants, optionally reworked with a closure.
Multiple data source
This version adds support for fetching constant from several types (classes or interfaces) at once.
support multiple enum usage in one execution
This version fixes a bug where the same cache would be shared by two different classes.
First stable version
After a lot of hard work, the first stable version is here. Code coverage : 100% !!!