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
stringThe property name
__set(string $name,string $value): void
stringThe property name
stringThe property value
getInstance(): self
selfThe Singleton instance.