[TYPO3-core] RFC #9520: add a scheme to support singletons with t3lib_div::makeInstance

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


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.

Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_9520.patch
Type: text/x-diff
Size: 2555 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081008/2fd0d2cb/attachment.patch 


More information about the TYPO3-team-core mailing list