Using constructors with Doctrine entities
Using constructors with Doctrine entities
withinboredom.info Symfony/Doctrine’s Docs has caused more bugs than anything else.
Symfony and Doctrine’s documentation has a slight flaw: they don’t use constructors for DTOs.
The article title is a little clickbaity, but basically, Doctrine and Symfony documentation don't mention that you can use constructor almost anywhere in the documentation.
0 comments