[TYPO3-50-general] Magic Get too magic?
robert at typo3.org
Fri Feb 23 08:39:30 CET 2007
I just stumbled again over the magic Getter method I implemented in
the TYPO3 class . The only purpose is to save developers some
typing. Instead of
they may write
However, I more and more tend to not like it. First thing is that
there are now two ways for getting the property and secondly I ask my
self if we should allow accessing properties directly (even through a
magic Getter) at all.
Now, before I remove that magic from TYPO3 - what do you think about
magic Getters and Setters?
More information about the TYPO3-project-5_0-general