[TYPO3-v4] RFC: Visibility keywords throught the Core

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Oct 11 15:55:02 CEST 2010


Steffen Kamper schrieb am 11.10.2010 10:18:
> Hi,
> 
> the problem is the big amount of classes where it's not set yet. And,
> for mentioned reasons it's not easy to decide public/protected.
> 
> I think a good start would be t3lib where all should be public.

I think that is what Sebastian suggested. If we change it now, everyhing
has to start being public.

But then, what sense does it make? Default is "public" in PHP, isn't it?

Adding deprecation logging to methods which might be good candidates
for getting "private" in future might make sense. But we will have to
duplicate the methods to make them "private": because else even internal
calls will get logged to deprecation logs.

Cheers,
Ernesto


More information about the TYPO3-project-v4 mailing list