DEV Community

Discussion on: Who of you use getters & setters and when?

Collapse
 
aleksikauppila profile image
Aleksi Kauppila • Edited

I think you should check out this great talk on good Doctrine practices by Marco Pivetta: youtube.com/watch?v=rzGeNYC3oz0. He talks about getting rid of getters and setters (among other things) by creating entities around their behaviour.