CanInstall
Table of Contents
- $cantInstallMessage : mixed
- $versionInstalled : mixed
- canInstall() : bool
- Check if can install this version of game.
- getFailInstallMessage() : array<string|int, mixed>|string
- Get the installation failure message.
- versionInstalled() : $this
- Set currently installed version.
- getInstalledVersion() : int
- Get int value of installed version.
Properties
$cantInstallMessage
protected
mixed
$cantInstallMessage
$versionInstalled
protected
mixed
$versionInstalled
= 0
Methods
canInstall()
Check if can install this version of game.
public
canInstall() : bool
Return values
bool —getFailInstallMessage()
Get the installation failure message.
public
getFailInstallMessage() : array<string|int, mixed>|string
Return values
array<string|int, mixed>|string —versionInstalled()
Set currently installed version.
public
versionInstalled(string $version) : $this
Parameters
- $version : string
Return values
$this —getInstalledVersion()
Get int value of installed version.
private
getInstalledVersion() : int