A base class that implements the singleton pattern for PHP and can be extended to convert a class to a singleton object
package |
Default |
---|
__get(string $name) : void
string
The property name
__set(string $name, string $value) : void
string
The property name
string
The property value
getInstance() : self
self
The Singleton instance.