mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 09:42:24 +01:00
private on attribute
This commit is contained in:
parent
912bd0c003
commit
f815f66436
@ -10,7 +10,7 @@ class Singleton
|
||||
/**
|
||||
* @var cached reference to singleton instance
|
||||
*/
|
||||
protected static $instance;
|
||||
private static $instance;
|
||||
|
||||
/**
|
||||
* gets the instance via lazy initialization (created on first usage)
|
||||
|
Loading…
x
Reference in New Issue
Block a user