摘要: 阅读原文 设计模式 单例模式 class Site { //属性 public $siteName; //本类的静态实例 protected static $instance = null; //禁用掉构造器 private function __construct($siteName) { $th 阅读全文
posted @ 2019-04-26 10:47 浮尘微光 阅读(628) 评论(0) 推荐(1) 编辑