[TYPO3-core] RFC #9505: Make the caches in TYPO3 use the new caching framework

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 8 09:49:18 CEST 2008


Martin Kutschker wrote: on 08.10.2008 09:08:

> I suggested this once, but Robert told me that singletons are bad when
> it comes to unit tests. I don't know, but maybe it helps (for unit
> tests) if t3lib_div::makeInstance() would test if the class implements a
> certain (fake) interface or has a certain doc comment set and stores a
> reference to the object in a static variable.

Nice idea, I would welcome that, too!

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list