/** * Returns a {@link WriteMode} for forcing a file to be at a certain path. If there's already * a file at that path, the existing file will be overwritten. If there's a folder at that * path, however, it will not be overwritten and the API call will fail. * * @return Dropbox_WriteMode */ public static function force() { if (self::$forceInstance === null) { self::$forceInstance = new Dropbox_WriteMode(array("overwrite" => "true")); } return self::$forceInstance; }