摘要: /** * @author xiaojiang * 方式1 */ class father{ static $models = []; static public function getInstance(){ $name = get_called_class(); if( !isset( self::$models[$name] ) ){... 阅读全文
posted @ 2016-12-06 11:12 ﹏Sakura 阅读(2988) 评论(0) 推荐(0) 编辑