Ángel Cardiel

Working with Enum Types in Symfony and PostgreSQL 

Sometimes we need a list of valid values for a certain field in the database. To this end, we can create a custom data type in Symfony and use it in our entity mapping definitions. That way, we can also use it in our validations. It’s especially helpful when using PostgreSQL ENUM types.
Read More