re: PHP Typed Properties: Think Twice. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Encapsulation Is Not Information Hiding
 

You can call it however you want but if another object can directly (on properties) change the state of your object, that object is not encapsulated :)

code of conduct - report abuse