public static function getContext() { if (!isset(self::$context)) { self::$context = new Context(); } return self::$context; }
/** * 获取实例。 */ static function getInstance() { if (self::$context == null) { self::$context = new Context(); } return self::$context; }