Issue Feature Closed

#19438add a scheme to support singletons with t3lib_div::makeInstance

Martin Kutschker 10/08/08, 22:05 updated 08/06/10, 13:22

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.

(issue imported from #M9520)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.