Installer
Class Installer
Table of Contents
Methods
- checkVersion() : bool
- Check version.
- getErrors() : array<string|int, mixed>
- Get errors.
- getInstallable() : array<string|int, iInstallable>
- Return true if it has errors.
- hasErrors() : bool
- Return true if it has errors.
- install() : bool
- Install.
- installNewest() : bool
- Install newest.
- uninstall() : mixed
- Uninstall.
- updateInstalledVersion() : mixed
- Update installed version.
Methods
checkVersion()
Check version.
public
static checkVersion() : bool
Return values
boolgetErrors()
Get errors.
public
getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>getInstallable()
Return true if it has errors.
public
static getInstallable() : array<string|int, iInstallable>
Return values
array<string|int, iInstallable>hasErrors()
Return true if it has errors.
public
hasErrors() : bool
Return values
boolinstall()
Install.
public
install() : bool
Return values
boolinstallNewest()
Install newest.
public
static installNewest() : bool
Return values
booluninstall()
Uninstall.
public
uninstall([iInstallable|null $installable = null ]) : mixed
Parameters
- $installable : iInstallable|null = null
-
Installable.
updateInstalledVersion()
Update installed version.
public
static updateInstalledVersion([int|null $version = null ]) : mixed
Parameters
- $version : int|null = null
-
Version