self::$appid?:$remote['cos']['appid'], 'SECRET_ID' => self::$secretid?:$remote['cos']['secretid'], 'SECRET_KEY' => self::$tsecretkey?:$remote['cos']['secretkey'] ]; } /** * Get the User-Agent string to send to COS server. */ public static function getUserAgent() { return 'cos-php-sdk-' . self::VERSION; } }