MSingleton

Package:
MSingleton
Summary:
Manage singleton objects
Groups:
Design Patterns, PHP 5
Author:
Artem
Description:
This class can be used to manage singleton objects.

It can assure that only one object of the class exists by storing the first instance of the class in a static variable.

Applications should create sub-classes of this class to manage singletons of different classes.


Powered by Gewgley