System\Classes\UpdateManager\ManagesModules


Public Methods

public getCurrentBuildNumber()

public getCurrentBuildNumber(): string|null 

getCurrentBuildNumber return the current build number

public getCurrentVersion()

public getCurrentVersion(): string 

getCurrentVersion returns the current version, with or without build

public migrateModule()

public migrateModule($module): void

migrateModule runs migrations on a single module

public migrateModules()

public migrateModules(): void

migrateModules migrates all modules

public requestChangelog()

public requestChangelog(): void

requestChangelog returns the latest changelog information.

public seedModule()

public seedModule($module): void

seedModule runs seeds on a module

public seedModules()

public seedModules(): void

seedModules seeds all modules

public setBuild()

public setBuild($build): void 

setBuild sets the build number and hash

public setBuildNumberManually()

public setBuildNumberManually(): void

setBuildNumberManually asks the gateway for the latest build number and stores it.

Protected Methods

protected getBuildFromVersion()

protected getBuildFromVersion($version): int 

getBuildFromVersion will return the patch version of a semver string eg: 1.2.3 -> 3, 1.2.3-dev -> 3