[TYPO3-core] RFC #9520: add a scheme to support singletons with t3lib_div::makeInstance
Martin Kutschker
masi-no at spam-typo3.org
Tue Oct 14 19:29:11 CEST 2008
Martin Kutschker schrieb:
> This is a SVN patch request.
>
> Branches: trunk
>
> Description:
>
> Let makeInstance test if an object implements the t3lib_singleton
> interface and if so keep a reference for later use.
>
> Don't let the class itself store the instances because this won't work
> well with unit tests.
Commited as is (with a lower case class name).
As there is no real naming convention in place and most existing code
uses lower case I leaf the uppercasing of all classes to be done in a
single refactoring patch.
Masi
More information about the TYPO3-team-core
mailing list