DEV Community

loading...

Discussion on: PHP is bad for Object-Oriented Programming OOP

Collapse
jorgecc profile image
Jorge Castro Author • Edited

Then how could you set a property?.

Do you want to define as private and to add setter and getter? Then good luck by breaking the performance of the code because of a code that adds nothing but bloat.