1 | <?php |
||
15 | class DataTransferConverter extends AbstractMathematicalConverter |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var Unit $bit_per_second Static instance for conversions |
||
20 | */ |
||
21 | public static $bit_per_second; |
||
22 | |||
23 | /** |
||
24 | * @var Unit $kilobit_per_second Static instance for conversions |
||
25 | */ |
||
26 | public static $kilobit_per_second; |
||
27 | |||
28 | /** |
||
29 | * @var Unit $megabit_per_second Static instance for conversions |
||
30 | */ |
||
31 | public static $megabit_per_second; |
||
32 | |||
33 | /** |
||
34 | * @var Unit $gigabit_per_second Static instance for conversions |
||
35 | */ |
||
36 | public static $gigabit_per_second; |
||
37 | |||
38 | /** |
||
39 | * @var Unit $terabit_per_second Static instance for conversions |
||
40 | */ |
||
41 | public static $terabit_per_second; |
||
42 | |||
43 | /** |
||
44 | * @var Unit $petabit_per_second Static instance for conversions |
||
45 | */ |
||
46 | public static $petabit_per_second; |
||
47 | |||
48 | /** |
||
49 | * @var Unit $exabit_per_second Static instance for conversions |
||
50 | */ |
||
51 | public static $exabit_per_second; |
||
52 | |||
53 | /** |
||
54 | * @var Unit $zettabit_per_second Static instance for conversions |
||
55 | */ |
||
56 | public static $zettabit_per_second; |
||
57 | |||
58 | /** |
||
59 | * @var Unit $yottabit_per_second Static instance for conversions |
||
60 | */ |
||
61 | public static $yottabit_per_second; |
||
62 | |||
63 | /** |
||
64 | * @var Unit $kibibit_per_second Static instance for conversions |
||
65 | */ |
||
66 | public static $kibibit_per_second; |
||
67 | |||
68 | /** |
||
69 | * @var Unit $mebibit_per_second Static instance for conversions |
||
70 | */ |
||
71 | public static $mebibit_per_second; |
||
72 | |||
73 | /** |
||
74 | * @var Unit $gibibit_per_second Static instance for conversions |
||
75 | */ |
||
76 | public static $gibibit_per_second; |
||
77 | |||
78 | /** |
||
79 | * @var Unit $tebibit_per_second Static instance for conversions |
||
80 | */ |
||
81 | public static $tebibit_per_second; |
||
82 | |||
83 | /** |
||
84 | * @var Unit $pebibit_per_second Static instance for conversions |
||
85 | */ |
||
86 | public static $pebibit_per_second; |
||
87 | |||
88 | /** |
||
89 | * @var Unit $exibit_per_second Static instance for conversions |
||
90 | */ |
||
91 | public static $exibit_per_second; |
||
92 | |||
93 | /** |
||
94 | * @var Unit $zebibit_per_second Static instance for conversions |
||
95 | */ |
||
96 | public static $zebibit_per_second; |
||
97 | |||
98 | /** |
||
99 | * @var Unit $yobibit_per_second Static instance for conversions |
||
100 | */ |
||
101 | public static $yobibit_per_second; |
||
102 | |||
103 | /** |
||
104 | * @var Unit $byte_per_second Static instance for conversions |
||
105 | */ |
||
106 | public static $byte_per_second; |
||
107 | |||
108 | /** |
||
109 | * @var Unit $kilobyte_per_second Static instance for conversions |
||
110 | */ |
||
111 | public static $kilobyte_per_second; |
||
112 | |||
113 | /** |
||
114 | * @var Unit $megabyte_per_second Static instance for conversions |
||
115 | */ |
||
116 | public static $megabyte_per_second; |
||
117 | |||
118 | /** |
||
119 | * @var Unit $gigabyte_per_second Static instance for conversions |
||
120 | */ |
||
121 | public static $gigabyte_per_second; |
||
122 | |||
123 | /** |
||
124 | * @var Unit $terabyte_per_second Static instance for conversions |
||
125 | */ |
||
126 | public static $terabyte_per_second; |
||
127 | |||
128 | /** |
||
129 | * @var Unit $petabyte_per_second Static instance for conversions |
||
130 | */ |
||
131 | public static $petabyte_per_second; |
||
132 | |||
133 | /** |
||
134 | * @var Unit $exabyte_per_second Static instance for conversions |
||
135 | */ |
||
136 | public static $exabyte_per_second; |
||
137 | |||
138 | /** |
||
139 | * @var Unit $zettabyte_per_second Static instance for conversions |
||
140 | */ |
||
141 | public static $zettabyte_per_second; |
||
142 | |||
143 | /** |
||
144 | * @var Unit $yottabyte_per_second Static instance for conversions |
||
145 | */ |
||
146 | public static $yottabyte_per_second; |
||
147 | |||
148 | /** |
||
149 | * @var Unit $kibibyte_per_second Static instance for conversions |
||
150 | */ |
||
151 | public static $kibibyte_per_second; |
||
152 | |||
153 | /** |
||
154 | * @var Unit $mebibyte_per_second Static instance for conversions |
||
155 | */ |
||
156 | public static $mebibyte_per_second; |
||
157 | |||
158 | /** |
||
159 | * @var Unit $gibibyte_per_second Static instance for conversions |
||
160 | */ |
||
161 | public static $gibibyte_per_second; |
||
162 | |||
163 | /** |
||
164 | * @var Unit $tebibyte_per_second Static instance for conversions |
||
165 | */ |
||
166 | public static $tebibyte_per_second; |
||
167 | |||
168 | /** |
||
169 | * @var Unit $pebibyte_per_second Static instance for conversions |
||
170 | */ |
||
171 | public static $pebibyte_per_second; |
||
172 | |||
173 | /** |
||
174 | * @var Unit $exibyte_per_second Static instance for conversions |
||
175 | */ |
||
176 | public static $exibyte_per_second; |
||
177 | |||
178 | /** |
||
179 | * @var Unit $zebibyte_per_second Static instance for conversions |
||
180 | */ |
||
181 | public static $zebibyte_per_second; |
||
182 | |||
183 | /** |
||
184 | * @var Unit $yobibyte_per_second Static instance for conversions |
||
185 | */ |
||
186 | public static $yobibyte_per_second; |
||
187 | |||
188 | /** |
||
189 | * LengthConverter constructor. |
||
190 | */ |
||
191 | 5 | public function __construct() |
|
231 | |||
232 | /** |
||
233 | * @return string Name of the converter |
||
234 | */ |
||
235 | 4 | public function getName(): string |
|
239 | |||
240 | 10 | public function getBaseUnit(): Unit |
|
244 | |||
245 | /** |
||
246 | * @param array $units |
||
247 | */ |
||
248 | public function setUnits(array $units) |
||
252 | |||
253 | /** |
||
254 | * @param Unit $unit |
||
255 | */ |
||
256 | public function addUnit(Unit $unit) |
||
260 | |||
261 | } |
||
262 |