摘要: <?php/** * @note 懒汉式单例模式 */class Singleton{ //类实例 public static $instance; public $a; public static function getInstance() { if(!(self::$instance inst 阅读全文
posted @ 2021-12-03 13:56 顾念如非 阅读(19) 评论(0) 推荐(0)