mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 16:45:35 +08:00
update Singleton
This commit is contained in:
@@ -11,6 +11,8 @@ trait SingletonTrait
|
|||||||
*/
|
*/
|
||||||
private static $instance;
|
private static $instance;
|
||||||
|
|
||||||
|
protected static $cached = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return self
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user