OS extends Enum
in package

This is the operative systems enumerate.

Tags
see
Enum

Table of Contents

ANDROID  = 'Android'
IOS  = 'Ios'
LINUX  = 'Linux'
MAC  = 'Mac'
UNKNOWN  = 'Unknown'
WINDOWS  = 'Windows'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

ANDROID

public mixed ANDROID = 'Android'

IOS

public mixed IOS = 'Ios'

LINUX

public mixed LINUX = 'Linux'

MAC

public mixed MAC = 'Mac'

UNKNOWN

public mixed UNKNOWN = 'Unknown'

WINDOWS

public mixed WINDOWS = 'Windows'

Methods

getValues()

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

isValid()

Check if the given value is inside the called enumerate.

public static isValid(string $value) : bool
Parameters
$value : string

value to check

Return values
bool

Search results