remove getters & setters #128
jkowalleck
started this conversation in
Ideas
Replies: 1 comment
-
as of #6 (comment)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PROPOSAL: remove getters and setters, if a property can be made type safe and converted to public.
PRO
CON
$instance->setA(1)->setB(2);
code changes
from
to
as of #6
Beta Was this translation helpful? Give feedback.
All reactions