PHP Classes / True Singleton Class

PHP implementation of the singleton design pattern

True Singleton Class PHP Class

This is a base class that implements the singleton design pattern. The class can only be instantiated using a static method that assures that there is only one object of that class. If the class was already instantiated, it returns a reference to the previously created class object. The class also provides functions for store, retrieving and deleting object properties.

Similar PHP Classes

Search in PHP Classes

Filter by tags