public __construct ( string $localVersion, string $manifestUrl, boolean $allowMajor = false, boolean $allowUnstable = false ) | ||
$localVersion | string | The local version. |
$manifestUrl | string | The URL to a JSON manifest file. The manifest contains an array of objects, each containing a 'version', 'sha1', and 'url'. |
$allowMajor | boolean | Whether to allow updating between major versions. |
$allowUnstable | boolean | Whether to allow updating to an unstable version. Ignored if $localVersion is unstable and there are no new stable versions. |