This bundle only supports Enums with string values. For instance, if you're using numeric enum values, creating the enum from a database value does throw this error:
Value '2' is not part of the enum App\YourEnum
The alternative Doctrine Enum Type supports value casting. I propose this library should support such feature as well.
PR is coming in later 😉
This bundle only supports Enums with string values. For instance, if you're using numeric enum values, creating the enum from a database value does throw this error:
Value '2' is not part of the enum App\YourEnumThe alternative Doctrine Enum Type supports value casting. I propose this library should support such feature as well.
PR is coming in later 😉