1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This file is part of the Runalyze Device List. |
5
|
|
|
* |
6
|
|
|
* (c) RUNALYZE <[email protected]> |
7
|
|
|
* |
8
|
|
|
* This source file is subject to the MIT license that is bundled |
9
|
|
|
* with this source code in the file LICENSE. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
namespace Runalyze\Devices\Distributor; |
13
|
|
|
|
14
|
|
|
use Runalyze\Devices\Device\DeviceProfile; |
15
|
|
|
|
16
|
|
|
class Apple extends AbstractDistributor |
17
|
|
|
{ |
18
|
1 |
|
public function getEnum() |
19
|
|
|
{ |
20
|
1 |
|
return DistributorProfile::APPLE; |
21
|
|
|
} |
22
|
|
|
|
23
|
1 |
|
public function getName() |
24
|
|
|
{ |
25
|
1 |
|
return 'Apple'; |
26
|
|
|
} |
27
|
|
|
|
28
|
|
|
public function getDeviceEnumList() |
29
|
|
|
{ |
30
|
|
|
return [ |
31
|
|
|
DeviceProfile::APPLE_WATCH, |
32
|
|
|
DeviceProfile::APPLE_WATCH_1_V_38, |
33
|
|
|
DeviceProfile::APPLE_WATCH_1_V_42, |
34
|
|
|
DeviceProfile::APPLE_WATCH_2_V_38, |
35
|
|
|
DeviceProfile::APPLE_WATCH_2_V_42, |
36
|
|
|
DeviceProfile::APPLE_WATCH_3_V_38, |
37
|
|
|
DeviceProfile::APPLE_WATCH_3_V_42, |
38
|
|
|
DeviceProfile::APPLE_WATCH_3_V_38_CELLULAR, |
39
|
|
|
DeviceProfile::APPLE_WATCH_3_V_42_CELLULAR, |
40
|
|
|
DeviceProfile::APPLE_WATCH_4_V_40, |
41
|
|
|
DeviceProfile::APPLE_WATCH_4_V_44, |
42
|
|
|
DeviceProfile::APPLE_WATCH_4_V_40_CELLULAR, |
43
|
|
|
DeviceProfile::APPLE_WATCH_4_V_44_CELLULAR, |
44
|
|
|
DeviceProfile::APPLE_WATCH_5_V_40, |
45
|
|
|
DeviceProfile::APPLE_WATCH_5_V_44, |
46
|
|
|
DeviceProfile::APPLE_WATCH_5_V_40_CELLULAR, |
47
|
|
|
DeviceProfile::APPLE_WATCH_5_V_44_CELLULAR, |
48
|
|
|
DeviceProfile::APPLE_WATCH_6_V_40, |
49
|
|
|
DeviceProfile::APPLE_WATCH_6_V_44, |
50
|
|
|
DeviceProfile::APPLE_WATCH_6_V_40_CELLULAR, |
51
|
|
|
DeviceProfile::APPLE_WATCH_6_V_44_CELLULAR, |
52
|
|
|
DeviceProfile::APPLE_WATCH_S_E_40, |
53
|
|
|
DeviceProfile::APPLE_WATCH_S_E_40_CELLULAR, |
54
|
|
|
DeviceProfile::APPLE_WATCH_S_E_44, |
55
|
|
|
DeviceProfile::APPLE_WATCH_S_E_44_CELLULAR, |
56
|
|
|
DeviceProfile::APPLE_IPHONE_X_S, |
57
|
|
|
DeviceProfile::APPLE_IPHONE_X_S_MAX_GLOBAL, |
58
|
|
|
DeviceProfile::APPLE_IPHONE_X_S_MAX, |
59
|
|
|
DeviceProfile::APPLE_IPHONE_X_R, |
60
|
|
|
DeviceProfile::APPLE_IPHONE_S_E_2, |
61
|
|
|
DeviceProfile::APPLE_IPHONE_S_E, |
62
|
|
|
DeviceProfile::APPLE_IPHONE_6, |
63
|
|
|
DeviceProfile::APPLE_IPHONE_6_S, |
64
|
|
|
DeviceProfile::APPLE_IPHONE_6_S_PLUS, |
65
|
|
|
DeviceProfile::APPLE_IPHONE_6_PLUS, |
66
|
|
|
DeviceProfile::APPLE_IPHONE_7, |
67
|
|
|
DeviceProfile::APPLE_IPHONE_7_PLUS, |
68
|
|
|
DeviceProfile::APPLE_IPHONE_8, |
69
|
|
|
DeviceProfile::APPLE_IPHONE_8_PLUS, |
70
|
|
|
DeviceProfile::APPLE_IPHONE_11, |
71
|
|
|
DeviceProfile::APPLE_IPHONE_11_PRO_MAX, |
72
|
|
|
DeviceProfile::APPLE_IPHONE_11_PRO, |
73
|
|
|
DeviceProfile::APPLE_IPHONE_12, |
74
|
|
|
DeviceProfile::APPLE_IPHONE_12_PRO, |
75
|
|
|
DeviceProfile::APPLE_IPHONE_12_PRO_MAX, |
76
|
|
|
DeviceProfile::APPLE_IPHONE_12_MINI, |
77
|
|
|
]; |
78
|
|
|
} |
79
|
|
|
} |
80
|
|
|
|