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