php实现注册器+工厂+单例模式
程序员文章站
2023-12-23 12:42:52
...
set('db1',$db); return $db;}}$db =Factory::createDatabase();
set('db1',$db); return $db;}}$db =Factory::createDatabase();