随笔分类 -  instance

单例模式
设计模式之单例模式--instance
摘要:test(); //This is a Constructed method;调用方法成功 //复制(克隆)对象将导致一个 E_USER_ERROR$danli_clone = clone $danli; //Fatal error: Clone is not allow! in... 阅读全文

posted @ 2015-07-15 17:29 yhdsir 阅读(393) 评论(0) 推荐(0)

导航