DEV Community


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

aleksikauppila profile image
Aleksi Kauppila • Edited

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

Forem Open with the Forem app