/** * 单例模式 * @return ZOL_DAL_CacheModules */ public static function getInstance() { if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }