Documentation

Updater
in package

YetiForce updater class.

Table of Contents

$version  : string
System version for updates.
download()  : void
Download package.
get()  : array<string|int, mixed>
Get list of available updates.
getToInstall()  : array<string|int, mixed>
Get updates to install.
isDownloaded()  : bool
Check if the package has been downloaded.

Properties

$version

System version for updates.

private static string $version = ''

Methods

download()

Download package.

public static download(array<string|int, string> $package) : void
Parameters
$package : array<string|int, string>
Return values
void

get()

Get list of available updates.

public static get() : array<string|int, mixed>
Return values
array<string|int, mixed>

getToInstall()

Get updates to install.

public static getToInstall() : array<string|int, mixed>
Return values
array<string|int, mixed>

isDownloaded()

Check if the package has been downloaded.

public static isDownloaded(array<string|int, string> $package) : bool
Parameters
$package : array<string|int, string>
Return values
bool

        

Search results