1
0
mirror of https://github.com/DesignPatternsPHP/DesignPatternsPHP.git synced 2025-07-27 02:00:20 +02:00
This commit is contained in:
Dominik Liebler
2013-09-12 11:46:14 +02:00
parent daac491ef0
commit ec6ed14767
5 changed files with 17 additions and 11 deletions

@@ -40,7 +40,9 @@ class Singleton
*
*/
private function __construct()
{}
{
}
/**
* prevent the instance from being cloned
@@ -48,7 +50,9 @@ class Singleton
* @return void
*/
private function __clone()
{}
{
}
/**
* prevent from being unserialized
@@ -56,5 +60,7 @@ class Singleton
* @return void
*/
private function __wakeup()
{}
{
}
}