\CryptoManana\Core\Abstractions\DesignPatternsAbstractSingleton

Class AbstractSingleton - Abstraction for the singleton design pattern.

Summary

Methods
Properties
Constants
__wakeup()
__sleep()
__toString()
No public properties found
No constants found
__construct()
No protected properties found
N/A
__clone()
No private properties found
N/A

Methods

__wakeup()

__wakeup() 

Lock the reinitialization and unserialization abilities of the class.

__sleep()

__sleep() 

Lock the serialization abilities of the class.

__toString()

__toString() : string

Return the name of the current defined class that extends the class.

Returns

string —

Name of the class.

__construct()

__construct() 

Locks the creation of new objects but allows static creation and extending.

__clone()

__clone() 

Lock the ability to clone properties and create a new dynamic instance of the class.