Using constructors with Doctrine entities
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.
![](https://kbin.social/media/cache/resolve/entry_thumb/b0/06/b00618f3ace0753f8652eb90c50e795e1715af8c32d2e3086a377f50e05d8376.jpg)
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.
Add comment