\Singleton

Summary

Methods
Properties
Constants
__wakeup()
getInstance()
No public properties found
No constants found
__construct()
__clone()
No protected properties found
N/A
No private methods found
$instances
N/A

Properties

$instances

$instances

Methods

__wakeup()

__wakeup() : mixed

Returns

mixed —

getInstance()

getInstance() : mixed

The method you use to get the Singleton's instance.

Returns

mixed —

__construct()

__construct() : mixed

Returns

mixed —

__clone()

__clone() : mixed

Cloning and unserialization are not permitted for singletons.

Returns

mixed —