|Classes of Alexey Dodonov||Mezon PHP Singleton Class||README.md||Download|
This class implements basic singleton pattern.
Using singleton behaviour in your applications is so simple as it can be. Just extend the class Singleton, and enjoy using it!
See the code:
You can see the Template Engine class for real usage of this pattern.