Singleton::__clone()

Method: Cloning is forbidden.

Singleton::__wakeup()

Method: Unserializing instances of this class is forbidden.

Singleton::init()

Method: Creates or returns an instance of this class.

Singleton::run_once()

Method: Placeholder function which is called only once.

Singleton

Class: A class to be used as a base for all singleton classes.