Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
OSType | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * Jingga |
4 | * |
5 | * PHP Version 8.1 |
6 | * |
7 | * @package phpOMS\Message\Http |
8 | * @copyright Dennis Eichhorn |
9 | * @license OMS License 2.0 |
10 | * @version 1.0.0 |
11 | * @link https://jingga.app |
12 | */ |
13 | declare(strict_types=1); |
14 | |
15 | namespace phpOMS\Message\Http; |
16 | |
17 | use phpOMS\Stdlib\Base\Enum; |
18 | |
19 | /** |
20 | * OS type enum. |
21 | * |
22 | * OS Types which could be useful in order to create statistics or deliver OS specific content. |
23 | * |
24 | * @package phpOMS\Message\Http |
25 | * @license OMS License 2.0 |
26 | * @link https://jingga.app |
27 | * @since 1.0.0 |
28 | */ |
29 | abstract class OSType extends Enum |
30 | { |
31 | public const WINDOWS_81 = 'windows nt 6.3'; /* Windows 8.1 */ |
32 | |
33 | public const WINDOWS_8 = 'windows nt 6.2'; /* Windows 8 */ |
34 | |
35 | public const WINDOWS_7 = 'windows nt 6.1'; /* Windows 7 */ |
36 | |
37 | public const WINDOWS_VISTA = 'windows nt 6.0'; /* Windows Vista */ |
38 | |
39 | public const WINDOWS_SERVER = 'windows nt 5.2'; /* Windows Server 2003/XP x64 */ |
40 | |
41 | public const WINDOWS_XP = 'windows nt 5.1'; /* Windows XP */ |
42 | |
43 | public const WINDOWS_XP_2 = 'windows xp'; /* Windows XP */ |
44 | |
45 | public const WINDOWS_2000 = 'windows nt 5.0'; /* Windows 2000 */ |
46 | |
47 | public const WINDOWS_ME = 'windows me'; /* Windows ME */ |
48 | |
49 | public const WINDOWS_98 = 'win98'; /* Windows 98 */ |
50 | |
51 | public const WINDOWS_95 = 'win95'; /* Windows 95 */ |
52 | |
53 | public const WINDOWS_311 = 'win16'; /* Windows 3.11 */ |
54 | |
55 | public const MAC_OS_X = 'macintosh'; /* Mac OS X */ |
56 | |
57 | public const MAC_OS_X_2 = 'mac os x'; /* Mac OS X */ |
58 | |
59 | public const MAC_OS_9 = 'mac_powerpc'; /* Mac OS 9 */ |
60 | |
61 | public const LINUX = 'linux'; /* Linux */ |
62 | |
63 | public const UBUNTU = 'ubuntu'; /* Ubuntu */ |
64 | |
65 | public const IPHONE = 'iphone'; /* IPhone */ |
66 | |
67 | public const IPOD = 'ipod'; /* IPod */ |
68 | |
69 | public const IPAD = 'ipad'; /* IPad */ |
70 | |
71 | public const ANDROID = 'android'; /* Android */ |
72 | |
73 | public const BLACKBERRY = 'blackberry'; /* Blackberry */ |
74 | |
75 | public const MOBILE = 'webos'; /* Mobile */ |
76 | |
77 | public const UNKNOWN = 'unknown'; |
78 | } |