Tags: danut007ro/PhpEnums
Tags
bug Elao#78 Fix: Add check for user callback in validator (Elao#70) (… …kevinlelo) This PR was squashed before being merged into the 1.x-dev branch (closes Elao#78). Discussion ---------- Fix: Add check for user callback in validator (Elao#70) Commits ------- bb8172a Fix user callback in validator (Elao#70) c71c460 Fix typos
feature Elao#76 Allow to generate doctrine DBAL types from config (og… …izanagi) This PR was merged into the 1.x-dev branch. Discussion ---------- Allow to generate doctrine DBAL types from config This is kind of an experimental feature I'd like to put on practice: don't require the developper to write its DBAL type for enums. Just indicate the types in config, and the bundle will generate+register these: ```yaml elao_enum: doctrine: types: App\Enum\GenderEnum: gender App\Enum\Permissions: { name: permissions, type: int } # values are stored as integers ``` Commits ------- f1cda2e Allow to generate doctrine DBAL types from config
PreviousNext