symfony
Symfony logo with stylized 'sf' letters in white on black circle above Symfony text
18
Oct

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