Skip to content
Hey there, I’m one of the WordPress and PHP enthusiasts at WATA Factory. Over the years, I’ve watched WordPress evolve from a simple blogging platform into a powerhouse that can handle e-commerce sites, membership portals, media repositories, and so much more. If...
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...