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

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 8 10:01:22 CEST 2008


Ernesto Baschny [cron IT] schrieb:
> 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!

Which one? There are two proposals.

Masi


More information about the TYPO3-team-core mailing list