Inheritance diagram for Singleton:Protected Member Functions | |
| __construct () | |
Static Protected Member Functions | |
| static | instance () |
| static | getInstanceOf ($class) |
Singleton base class for subclassing generic singleton pattern classes
Definition at line 13 of file singleton.php.
| Singleton::__construct | ( | ) | [final, protected] |
Prevent instance construction and cloning (copying of object instance)
Definition at line 62 of file singleton.php.
| static Singleton::getInstanceOf | ( | $ | class | ) | [static, protected] |
Returns the single shared static instance variable which facilitates the Singleton pattern
Definition at line 50 of file singleton.php.
Referenced by URL::instance(), Update::instance(), DB::instance(), Controller::instance(), and Options::instance().
| static Singleton::instance | ( | ) | [static, protected] |
Declarations that extend this method must have the same signature (arguments and returned types) to pass E_STRICT
Reimplemented in Controller, DB, Options, Update, and URL.
Definition at line 24 of file singleton.php.
1.7.1