Project

General

Profile

Actions

Feature #19438

closed

add a scheme to support singletons with t3lib_div::makeInstance

Added by Martin Kutschker about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-10-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)


Files

bug_9520.patch (2.5 KB) bug_9520.patch Administrator Admin, 2008-10-08 22:11

No data to display

Actions

Also available in: Atom PDF