Total Complexity | 185 |
Total Lines | 2220 |
Duplicated Lines | 0 % |
Changes | 0 |
Complex classes like SequenceCompanion often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use SequenceCompanion, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
15 | trait SequenceCompanion |
||
16 | { |
||
17 | /** |
||
18 | * @param float|int|numeric-string $number |
||
|
|||
19 | * |
||
20 | * @return $this |
||
21 | */ |
||
22 | public function acceleration_g_force(float|int|string $number): self |
||
23 | { |
||
24 | $this->sequence["acceleration-g-force"] = $number; |
||
25 | |||
26 | return $this; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param float|int|numeric-string $number |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function acceleration_meter_per_square_second(float|int|string $number): self |
||
35 | { |
||
36 | $this->sequence["acceleration-meter-per-square-second"] = $number; |
||
37 | |||
38 | return $this; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param float|int|numeric-string $number |
||
43 | * |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function angle_revolution(float|int|string $number): self |
||
47 | { |
||
48 | $this->sequence["angle-revolution"] = $number; |
||
49 | |||
50 | return $this; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @param float|int|numeric-string $number |
||
55 | * |
||
56 | * @return $this |
||
57 | */ |
||
58 | public function angle_radian(float|int|string $number): self |
||
59 | { |
||
60 | $this->sequence["angle-radian"] = $number; |
||
61 | |||
62 | return $this; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @param float|int|numeric-string $number |
||
67 | * |
||
68 | * @return $this |
||
69 | */ |
||
70 | public function angle_degree(float|int|string $number): self |
||
71 | { |
||
72 | $this->sequence["angle-degree"] = $number; |
||
73 | |||
74 | return $this; |
||
75 | } |
||
76 | |||
77 | /** |
||
78 | * @param float|int|numeric-string $number |
||
79 | * |
||
80 | * @return $this |
||
81 | */ |
||
82 | public function angle_arc_minute(float|int|string $number): self |
||
83 | { |
||
84 | $this->sequence["angle-arc-minute"] = $number; |
||
85 | |||
86 | return $this; |
||
87 | } |
||
88 | |||
89 | /** |
||
90 | * @param float|int|numeric-string $number |
||
91 | * |
||
92 | * @return $this |
||
93 | */ |
||
94 | public function angle_arc_second(float|int|string $number): self |
||
95 | { |
||
96 | $this->sequence["angle-arc-second"] = $number; |
||
97 | |||
98 | return $this; |
||
99 | } |
||
100 | |||
101 | /** |
||
102 | * @param float|int|numeric-string $number |
||
103 | * |
||
104 | * @return $this |
||
105 | */ |
||
106 | public function area_square_kilometer(float|int|string $number): self |
||
107 | { |
||
108 | $this->sequence["area-square-kilometer"] = $number; |
||
109 | |||
110 | return $this; |
||
111 | } |
||
112 | |||
113 | /** |
||
114 | * @param float|int|numeric-string $number |
||
115 | * |
||
116 | * @return $this |
||
117 | */ |
||
118 | public function area_hectare(float|int|string $number): self |
||
119 | { |
||
120 | $this->sequence["area-hectare"] = $number; |
||
121 | |||
122 | return $this; |
||
123 | } |
||
124 | |||
125 | /** |
||
126 | * @param float|int|numeric-string $number |
||
127 | * |
||
128 | * @return $this |
||
129 | */ |
||
130 | public function area_square_meter(float|int|string $number): self |
||
131 | { |
||
132 | $this->sequence["area-square-meter"] = $number; |
||
133 | |||
134 | return $this; |
||
135 | } |
||
136 | |||
137 | /** |
||
138 | * @param float|int|numeric-string $number |
||
139 | * |
||
140 | * @return $this |
||
141 | */ |
||
142 | public function area_square_centimeter(float|int|string $number): self |
||
143 | { |
||
144 | $this->sequence["area-square-centimeter"] = $number; |
||
145 | |||
146 | return $this; |
||
147 | } |
||
148 | |||
149 | /** |
||
150 | * @param float|int|numeric-string $number |
||
151 | * |
||
152 | * @return $this |
||
153 | */ |
||
154 | public function area_square_mile(float|int|string $number): self |
||
155 | { |
||
156 | $this->sequence["area-square-mile"] = $number; |
||
157 | |||
158 | return $this; |
||
159 | } |
||
160 | |||
161 | /** |
||
162 | * @param float|int|numeric-string $number |
||
163 | * |
||
164 | * @return $this |
||
165 | */ |
||
166 | public function area_acre(float|int|string $number): self |
||
167 | { |
||
168 | $this->sequence["area-acre"] = $number; |
||
169 | |||
170 | return $this; |
||
171 | } |
||
172 | |||
173 | /** |
||
174 | * @param float|int|numeric-string $number |
||
175 | * |
||
176 | * @return $this |
||
177 | */ |
||
178 | public function area_square_yard(float|int|string $number): self |
||
179 | { |
||
180 | $this->sequence["area-square-yard"] = $number; |
||
181 | |||
182 | return $this; |
||
183 | } |
||
184 | |||
185 | /** |
||
186 | * @param float|int|numeric-string $number |
||
187 | * |
||
188 | * @return $this |
||
189 | */ |
||
190 | public function area_square_foot(float|int|string $number): self |
||
191 | { |
||
192 | $this->sequence["area-square-foot"] = $number; |
||
193 | |||
194 | return $this; |
||
195 | } |
||
196 | |||
197 | /** |
||
198 | * @param float|int|numeric-string $number |
||
199 | * |
||
200 | * @return $this |
||
201 | */ |
||
202 | public function area_square_inch(float|int|string $number): self |
||
203 | { |
||
204 | $this->sequence["area-square-inch"] = $number; |
||
205 | |||
206 | return $this; |
||
207 | } |
||
208 | |||
209 | /** |
||
210 | * @param float|int|numeric-string $number |
||
211 | * |
||
212 | * @return $this |
||
213 | */ |
||
214 | public function area_dunam(float|int|string $number): self |
||
215 | { |
||
216 | $this->sequence["area-dunam"] = $number; |
||
217 | |||
218 | return $this; |
||
219 | } |
||
220 | |||
221 | /** |
||
222 | * @param float|int|numeric-string $number |
||
223 | * |
||
224 | * @return $this |
||
225 | */ |
||
226 | public function concentr_karat(float|int|string $number): self |
||
227 | { |
||
228 | $this->sequence["concentr-karat"] = $number; |
||
229 | |||
230 | return $this; |
||
231 | } |
||
232 | |||
233 | /** |
||
234 | * @param float|int|numeric-string $number |
||
235 | * |
||
236 | * @return $this |
||
237 | */ |
||
238 | public function concentr_milligram_ofglucose_per_deciliter(float|int|string $number): self |
||
239 | { |
||
240 | $this->sequence["concentr-milligram-ofglucose-per-deciliter"] = $number; |
||
241 | |||
242 | return $this; |
||
243 | } |
||
244 | |||
245 | /** |
||
246 | * @param float|int|numeric-string $number |
||
247 | * |
||
248 | * @return $this |
||
249 | */ |
||
250 | public function concentr_millimole_per_liter(float|int|string $number): self |
||
251 | { |
||
252 | $this->sequence["concentr-millimole-per-liter"] = $number; |
||
253 | |||
254 | return $this; |
||
255 | } |
||
256 | |||
257 | /** |
||
258 | * @param float|int|numeric-string $number |
||
259 | * |
||
260 | * @return $this |
||
261 | */ |
||
262 | public function concentr_item(float|int|string $number): self |
||
263 | { |
||
264 | $this->sequence["concentr-item"] = $number; |
||
265 | |||
266 | return $this; |
||
267 | } |
||
268 | |||
269 | /** |
||
270 | * @param float|int|numeric-string $number |
||
271 | * |
||
272 | * @return $this |
||
273 | */ |
||
274 | public function concentr_permillion(float|int|string $number): self |
||
275 | { |
||
276 | $this->sequence["concentr-permillion"] = $number; |
||
277 | |||
278 | return $this; |
||
279 | } |
||
280 | |||
281 | /** |
||
282 | * @param float|int|numeric-string $number |
||
283 | * |
||
284 | * @return $this |
||
285 | */ |
||
286 | public function concentr_percent(float|int|string $number): self |
||
287 | { |
||
288 | $this->sequence["concentr-percent"] = $number; |
||
289 | |||
290 | return $this; |
||
291 | } |
||
292 | |||
293 | /** |
||
294 | * @param float|int|numeric-string $number |
||
295 | * |
||
296 | * @return $this |
||
297 | */ |
||
298 | public function concentr_permille(float|int|string $number): self |
||
299 | { |
||
300 | $this->sequence["concentr-permille"] = $number; |
||
301 | |||
302 | return $this; |
||
303 | } |
||
304 | |||
305 | /** |
||
306 | * @param float|int|numeric-string $number |
||
307 | * |
||
308 | * @return $this |
||
309 | */ |
||
310 | public function concentr_permyriad(float|int|string $number): self |
||
311 | { |
||
312 | $this->sequence["concentr-permyriad"] = $number; |
||
313 | |||
314 | return $this; |
||
315 | } |
||
316 | |||
317 | /** |
||
318 | * @param float|int|numeric-string $number |
||
319 | * |
||
320 | * @return $this |
||
321 | */ |
||
322 | public function concentr_mole(float|int|string $number): self |
||
323 | { |
||
324 | $this->sequence["concentr-mole"] = $number; |
||
325 | |||
326 | return $this; |
||
327 | } |
||
328 | |||
329 | /** |
||
330 | * @param float|int|numeric-string $number |
||
331 | * |
||
332 | * @return $this |
||
333 | */ |
||
334 | public function consumption_liter_per_kilometer(float|int|string $number): self |
||
335 | { |
||
336 | $this->sequence["consumption-liter-per-kilometer"] = $number; |
||
337 | |||
338 | return $this; |
||
339 | } |
||
340 | |||
341 | /** |
||
342 | * @param float|int|numeric-string $number |
||
343 | * |
||
344 | * @return $this |
||
345 | */ |
||
346 | public function consumption_liter_per_100_kilometer(float|int|string $number): self |
||
347 | { |
||
348 | $this->sequence["consumption-liter-per-100-kilometer"] = $number; |
||
349 | |||
350 | return $this; |
||
351 | } |
||
352 | |||
353 | /** |
||
354 | * @param float|int|numeric-string $number |
||
355 | * |
||
356 | * @return $this |
||
357 | */ |
||
358 | public function consumption_mile_per_gallon(float|int|string $number): self |
||
359 | { |
||
360 | $this->sequence["consumption-mile-per-gallon"] = $number; |
||
361 | |||
362 | return $this; |
||
363 | } |
||
364 | |||
365 | /** |
||
366 | * @param float|int|numeric-string $number |
||
367 | * |
||
368 | * @return $this |
||
369 | */ |
||
370 | public function consumption_mile_per_gallon_imperial(float|int|string $number): self |
||
371 | { |
||
372 | $this->sequence["consumption-mile-per-gallon-imperial"] = $number; |
||
373 | |||
374 | return $this; |
||
375 | } |
||
376 | |||
377 | /** |
||
378 | * @param float|int|numeric-string $number |
||
379 | * |
||
380 | * @return $this |
||
381 | */ |
||
382 | public function digital_petabyte(float|int|string $number): self |
||
383 | { |
||
384 | $this->sequence["digital-petabyte"] = $number; |
||
385 | |||
386 | return $this; |
||
387 | } |
||
388 | |||
389 | /** |
||
390 | * @param float|int|numeric-string $number |
||
391 | * |
||
392 | * @return $this |
||
393 | */ |
||
394 | public function digital_terabyte(float|int|string $number): self |
||
395 | { |
||
396 | $this->sequence["digital-terabyte"] = $number; |
||
397 | |||
398 | return $this; |
||
399 | } |
||
400 | |||
401 | /** |
||
402 | * @param float|int|numeric-string $number |
||
403 | * |
||
404 | * @return $this |
||
405 | */ |
||
406 | public function digital_terabit(float|int|string $number): self |
||
407 | { |
||
408 | $this->sequence["digital-terabit"] = $number; |
||
409 | |||
410 | return $this; |
||
411 | } |
||
412 | |||
413 | /** |
||
414 | * @param float|int|numeric-string $number |
||
415 | * |
||
416 | * @return $this |
||
417 | */ |
||
418 | public function digital_gigabyte(float|int|string $number): self |
||
419 | { |
||
420 | $this->sequence["digital-gigabyte"] = $number; |
||
421 | |||
422 | return $this; |
||
423 | } |
||
424 | |||
425 | /** |
||
426 | * @param float|int|numeric-string $number |
||
427 | * |
||
428 | * @return $this |
||
429 | */ |
||
430 | public function digital_gigabit(float|int|string $number): self |
||
431 | { |
||
432 | $this->sequence["digital-gigabit"] = $number; |
||
433 | |||
434 | return $this; |
||
435 | } |
||
436 | |||
437 | /** |
||
438 | * @param float|int|numeric-string $number |
||
439 | * |
||
440 | * @return $this |
||
441 | */ |
||
442 | public function digital_megabyte(float|int|string $number): self |
||
443 | { |
||
444 | $this->sequence["digital-megabyte"] = $number; |
||
445 | |||
446 | return $this; |
||
447 | } |
||
448 | |||
449 | /** |
||
450 | * @param float|int|numeric-string $number |
||
451 | * |
||
452 | * @return $this |
||
453 | */ |
||
454 | public function digital_megabit(float|int|string $number): self |
||
455 | { |
||
456 | $this->sequence["digital-megabit"] = $number; |
||
457 | |||
458 | return $this; |
||
459 | } |
||
460 | |||
461 | /** |
||
462 | * @param float|int|numeric-string $number |
||
463 | * |
||
464 | * @return $this |
||
465 | */ |
||
466 | public function digital_kilobyte(float|int|string $number): self |
||
467 | { |
||
468 | $this->sequence["digital-kilobyte"] = $number; |
||
469 | |||
470 | return $this; |
||
471 | } |
||
472 | |||
473 | /** |
||
474 | * @param float|int|numeric-string $number |
||
475 | * |
||
476 | * @return $this |
||
477 | */ |
||
478 | public function digital_kilobit(float|int|string $number): self |
||
479 | { |
||
480 | $this->sequence["digital-kilobit"] = $number; |
||
481 | |||
482 | return $this; |
||
483 | } |
||
484 | |||
485 | /** |
||
486 | * @param float|int|numeric-string $number |
||
487 | * |
||
488 | * @return $this |
||
489 | */ |
||
490 | public function digital_byte(float|int|string $number): self |
||
491 | { |
||
492 | $this->sequence["digital-byte"] = $number; |
||
493 | |||
494 | return $this; |
||
495 | } |
||
496 | |||
497 | /** |
||
498 | * @param float|int|numeric-string $number |
||
499 | * |
||
500 | * @return $this |
||
501 | */ |
||
502 | public function digital_bit(float|int|string $number): self |
||
503 | { |
||
504 | $this->sequence["digital-bit"] = $number; |
||
505 | |||
506 | return $this; |
||
507 | } |
||
508 | |||
509 | /** |
||
510 | * @param float|int|numeric-string $number |
||
511 | * |
||
512 | * @return $this |
||
513 | */ |
||
514 | public function duration_century(float|int|string $number): self |
||
515 | { |
||
516 | $this->sequence["duration-century"] = $number; |
||
517 | |||
518 | return $this; |
||
519 | } |
||
520 | |||
521 | /** |
||
522 | * @param float|int|numeric-string $number |
||
523 | * |
||
524 | * @return $this |
||
525 | */ |
||
526 | public function duration_decade(float|int|string $number): self |
||
527 | { |
||
528 | $this->sequence["duration-decade"] = $number; |
||
529 | |||
530 | return $this; |
||
531 | } |
||
532 | |||
533 | /** |
||
534 | * @param float|int|numeric-string $number |
||
535 | * |
||
536 | * @return $this |
||
537 | */ |
||
538 | public function duration_year(float|int|string $number): self |
||
539 | { |
||
540 | $this->sequence["duration-year"] = $number; |
||
541 | |||
542 | return $this; |
||
543 | } |
||
544 | |||
545 | /** |
||
546 | * @param float|int|numeric-string $number |
||
547 | * |
||
548 | * @return $this |
||
549 | */ |
||
550 | public function duration_quarter(float|int|string $number): self |
||
551 | { |
||
552 | $this->sequence["duration-quarter"] = $number; |
||
553 | |||
554 | return $this; |
||
555 | } |
||
556 | |||
557 | /** |
||
558 | * @param float|int|numeric-string $number |
||
559 | * |
||
560 | * @return $this |
||
561 | */ |
||
562 | public function duration_month(float|int|string $number): self |
||
563 | { |
||
564 | $this->sequence["duration-month"] = $number; |
||
565 | |||
566 | return $this; |
||
567 | } |
||
568 | |||
569 | /** |
||
570 | * @param float|int|numeric-string $number |
||
571 | * |
||
572 | * @return $this |
||
573 | */ |
||
574 | public function duration_week(float|int|string $number): self |
||
575 | { |
||
576 | $this->sequence["duration-week"] = $number; |
||
577 | |||
578 | return $this; |
||
579 | } |
||
580 | |||
581 | /** |
||
582 | * @param float|int|numeric-string $number |
||
583 | * |
||
584 | * @return $this |
||
585 | */ |
||
586 | public function duration_day(float|int|string $number): self |
||
587 | { |
||
588 | $this->sequence["duration-day"] = $number; |
||
589 | |||
590 | return $this; |
||
591 | } |
||
592 | |||
593 | /** |
||
594 | * @param float|int|numeric-string $number |
||
595 | * |
||
596 | * @return $this |
||
597 | */ |
||
598 | public function duration_hour(float|int|string $number): self |
||
599 | { |
||
600 | $this->sequence["duration-hour"] = $number; |
||
601 | |||
602 | return $this; |
||
603 | } |
||
604 | |||
605 | /** |
||
606 | * @param float|int|numeric-string $number |
||
607 | * |
||
608 | * @return $this |
||
609 | */ |
||
610 | public function duration_minute(float|int|string $number): self |
||
611 | { |
||
612 | $this->sequence["duration-minute"] = $number; |
||
613 | |||
614 | return $this; |
||
615 | } |
||
616 | |||
617 | /** |
||
618 | * @param float|int|numeric-string $number |
||
619 | * |
||
620 | * @return $this |
||
621 | */ |
||
622 | public function duration_second(float|int|string $number): self |
||
623 | { |
||
624 | $this->sequence["duration-second"] = $number; |
||
625 | |||
626 | return $this; |
||
627 | } |
||
628 | |||
629 | /** |
||
630 | * @param float|int|numeric-string $number |
||
631 | * |
||
632 | * @return $this |
||
633 | */ |
||
634 | public function duration_millisecond(float|int|string $number): self |
||
635 | { |
||
636 | $this->sequence["duration-millisecond"] = $number; |
||
637 | |||
638 | return $this; |
||
639 | } |
||
640 | |||
641 | /** |
||
642 | * @param float|int|numeric-string $number |
||
643 | * |
||
644 | * @return $this |
||
645 | */ |
||
646 | public function duration_microsecond(float|int|string $number): self |
||
647 | { |
||
648 | $this->sequence["duration-microsecond"] = $number; |
||
649 | |||
650 | return $this; |
||
651 | } |
||
652 | |||
653 | /** |
||
654 | * @param float|int|numeric-string $number |
||
655 | * |
||
656 | * @return $this |
||
657 | */ |
||
658 | public function duration_nanosecond(float|int|string $number): self |
||
659 | { |
||
660 | $this->sequence["duration-nanosecond"] = $number; |
||
661 | |||
662 | return $this; |
||
663 | } |
||
664 | |||
665 | /** |
||
666 | * @param float|int|numeric-string $number |
||
667 | * |
||
668 | * @return $this |
||
669 | */ |
||
670 | public function electric_ampere(float|int|string $number): self |
||
671 | { |
||
672 | $this->sequence["electric-ampere"] = $number; |
||
673 | |||
674 | return $this; |
||
675 | } |
||
676 | |||
677 | /** |
||
678 | * @param float|int|numeric-string $number |
||
679 | * |
||
680 | * @return $this |
||
681 | */ |
||
682 | public function electric_milliampere(float|int|string $number): self |
||
683 | { |
||
684 | $this->sequence["electric-milliampere"] = $number; |
||
685 | |||
686 | return $this; |
||
687 | } |
||
688 | |||
689 | /** |
||
690 | * @param float|int|numeric-string $number |
||
691 | * |
||
692 | * @return $this |
||
693 | */ |
||
694 | public function electric_ohm(float|int|string $number): self |
||
695 | { |
||
696 | $this->sequence["electric-ohm"] = $number; |
||
697 | |||
698 | return $this; |
||
699 | } |
||
700 | |||
701 | /** |
||
702 | * @param float|int|numeric-string $number |
||
703 | * |
||
704 | * @return $this |
||
705 | */ |
||
706 | public function electric_volt(float|int|string $number): self |
||
707 | { |
||
708 | $this->sequence["electric-volt"] = $number; |
||
709 | |||
710 | return $this; |
||
711 | } |
||
712 | |||
713 | /** |
||
714 | * @param float|int|numeric-string $number |
||
715 | * |
||
716 | * @return $this |
||
717 | */ |
||
718 | public function energy_kilocalorie(float|int|string $number): self |
||
719 | { |
||
720 | $this->sequence["energy-kilocalorie"] = $number; |
||
721 | |||
722 | return $this; |
||
723 | } |
||
724 | |||
725 | /** |
||
726 | * @param float|int|numeric-string $number |
||
727 | * |
||
728 | * @return $this |
||
729 | */ |
||
730 | public function energy_calorie(float|int|string $number): self |
||
731 | { |
||
732 | $this->sequence["energy-calorie"] = $number; |
||
733 | |||
734 | return $this; |
||
735 | } |
||
736 | |||
737 | /** |
||
738 | * @param float|int|numeric-string $number |
||
739 | * |
||
740 | * @return $this |
||
741 | */ |
||
742 | public function energy_foodcalorie(float|int|string $number): self |
||
743 | { |
||
744 | $this->sequence["energy-foodcalorie"] = $number; |
||
745 | |||
746 | return $this; |
||
747 | } |
||
748 | |||
749 | /** |
||
750 | * @param float|int|numeric-string $number |
||
751 | * |
||
752 | * @return $this |
||
753 | */ |
||
754 | public function energy_kilojoule(float|int|string $number): self |
||
755 | { |
||
756 | $this->sequence["energy-kilojoule"] = $number; |
||
757 | |||
758 | return $this; |
||
759 | } |
||
760 | |||
761 | /** |
||
762 | * @param float|int|numeric-string $number |
||
763 | * |
||
764 | * @return $this |
||
765 | */ |
||
766 | public function energy_joule(float|int|string $number): self |
||
767 | { |
||
768 | $this->sequence["energy-joule"] = $number; |
||
769 | |||
770 | return $this; |
||
771 | } |
||
772 | |||
773 | /** |
||
774 | * @param float|int|numeric-string $number |
||
775 | * |
||
776 | * @return $this |
||
777 | */ |
||
778 | public function energy_kilowatt_hour(float|int|string $number): self |
||
779 | { |
||
780 | $this->sequence["energy-kilowatt-hour"] = $number; |
||
781 | |||
782 | return $this; |
||
783 | } |
||
784 | |||
785 | /** |
||
786 | * @param float|int|numeric-string $number |
||
787 | * |
||
788 | * @return $this |
||
789 | */ |
||
790 | public function energy_electronvolt(float|int|string $number): self |
||
791 | { |
||
792 | $this->sequence["energy-electronvolt"] = $number; |
||
793 | |||
794 | return $this; |
||
795 | } |
||
796 | |||
797 | /** |
||
798 | * @param float|int|numeric-string $number |
||
799 | * |
||
800 | * @return $this |
||
801 | */ |
||
802 | public function energy_british_thermal_unit(float|int|string $number): self |
||
803 | { |
||
804 | $this->sequence["energy-british-thermal-unit"] = $number; |
||
805 | |||
806 | return $this; |
||
807 | } |
||
808 | |||
809 | /** |
||
810 | * @param float|int|numeric-string $number |
||
811 | * |
||
812 | * @return $this |
||
813 | */ |
||
814 | public function energy_therm_us(float|int|string $number): self |
||
815 | { |
||
816 | $this->sequence["energy-therm-us"] = $number; |
||
817 | |||
818 | return $this; |
||
819 | } |
||
820 | |||
821 | /** |
||
822 | * @param float|int|numeric-string $number |
||
823 | * |
||
824 | * @return $this |
||
825 | */ |
||
826 | public function force_pound_force(float|int|string $number): self |
||
827 | { |
||
828 | $this->sequence["force-pound-force"] = $number; |
||
829 | |||
830 | return $this; |
||
831 | } |
||
832 | |||
833 | /** |
||
834 | * @param float|int|numeric-string $number |
||
835 | * |
||
836 | * @return $this |
||
837 | */ |
||
838 | public function force_newton(float|int|string $number): self |
||
839 | { |
||
840 | $this->sequence["force-newton"] = $number; |
||
841 | |||
842 | return $this; |
||
843 | } |
||
844 | |||
845 | /** |
||
846 | * @param float|int|numeric-string $number |
||
847 | * |
||
848 | * @return $this |
||
849 | */ |
||
850 | public function force_kilowatt_hour_per_100_kilometer(float|int|string $number): self |
||
851 | { |
||
852 | $this->sequence["force-kilowatt-hour-per-100-kilometer"] = $number; |
||
853 | |||
854 | return $this; |
||
855 | } |
||
856 | |||
857 | /** |
||
858 | * @param float|int|numeric-string $number |
||
859 | * |
||
860 | * @return $this |
||
861 | */ |
||
862 | public function frequency_gigahertz(float|int|string $number): self |
||
863 | { |
||
864 | $this->sequence["frequency-gigahertz"] = $number; |
||
865 | |||
866 | return $this; |
||
867 | } |
||
868 | |||
869 | /** |
||
870 | * @param float|int|numeric-string $number |
||
871 | * |
||
872 | * @return $this |
||
873 | */ |
||
874 | public function frequency_megahertz(float|int|string $number): self |
||
875 | { |
||
876 | $this->sequence["frequency-megahertz"] = $number; |
||
877 | |||
878 | return $this; |
||
879 | } |
||
880 | |||
881 | /** |
||
882 | * @param float|int|numeric-string $number |
||
883 | * |
||
884 | * @return $this |
||
885 | */ |
||
886 | public function frequency_kilohertz(float|int|string $number): self |
||
887 | { |
||
888 | $this->sequence["frequency-kilohertz"] = $number; |
||
889 | |||
890 | return $this; |
||
891 | } |
||
892 | |||
893 | /** |
||
894 | * @param float|int|numeric-string $number |
||
895 | * |
||
896 | * @return $this |
||
897 | */ |
||
898 | public function frequency_hertz(float|int|string $number): self |
||
899 | { |
||
900 | $this->sequence["frequency-hertz"] = $number; |
||
901 | |||
902 | return $this; |
||
903 | } |
||
904 | |||
905 | /** |
||
906 | * @param float|int|numeric-string $number |
||
907 | * |
||
908 | * @return $this |
||
909 | */ |
||
910 | public function graphics_em(float|int|string $number): self |
||
911 | { |
||
912 | $this->sequence["graphics-em"] = $number; |
||
913 | |||
914 | return $this; |
||
915 | } |
||
916 | |||
917 | /** |
||
918 | * @param float|int|numeric-string $number |
||
919 | * |
||
920 | * @return $this |
||
921 | */ |
||
922 | public function graphics_pixel(float|int|string $number): self |
||
927 | } |
||
928 | |||
929 | /** |
||
930 | * @param float|int|numeric-string $number |
||
931 | * |
||
932 | * @return $this |
||
933 | */ |
||
934 | public function graphics_megapixel(float|int|string $number): self |
||
935 | { |
||
936 | $this->sequence["graphics-megapixel"] = $number; |
||
937 | |||
938 | return $this; |
||
939 | } |
||
940 | |||
941 | /** |
||
942 | * @param float|int|numeric-string $number |
||
943 | * |
||
944 | * @return $this |
||
945 | */ |
||
946 | public function graphics_pixel_per_centimeter(float|int|string $number): self |
||
947 | { |
||
948 | $this->sequence["graphics-pixel-per-centimeter"] = $number; |
||
949 | |||
950 | return $this; |
||
951 | } |
||
952 | |||
953 | /** |
||
954 | * @param float|int|numeric-string $number |
||
955 | * |
||
956 | * @return $this |
||
957 | */ |
||
958 | public function graphics_pixel_per_inch(float|int|string $number): self |
||
959 | { |
||
960 | $this->sequence["graphics-pixel-per-inch"] = $number; |
||
961 | |||
962 | return $this; |
||
963 | } |
||
964 | |||
965 | /** |
||
966 | * @param float|int|numeric-string $number |
||
967 | * |
||
968 | * @return $this |
||
969 | */ |
||
970 | public function graphics_dot_per_centimeter(float|int|string $number): self |
||
971 | { |
||
972 | $this->sequence["graphics-dot-per-centimeter"] = $number; |
||
973 | |||
974 | return $this; |
||
975 | } |
||
976 | |||
977 | /** |
||
978 | * @param float|int|numeric-string $number |
||
979 | * |
||
980 | * @return $this |
||
981 | */ |
||
982 | public function graphics_dot_per_inch(float|int|string $number): self |
||
983 | { |
||
984 | $this->sequence["graphics-dot-per-inch"] = $number; |
||
985 | |||
986 | return $this; |
||
987 | } |
||
988 | |||
989 | /** |
||
990 | * @param float|int|numeric-string $number |
||
991 | * |
||
992 | * @return $this |
||
993 | */ |
||
994 | public function graphics_dot(float|int|string $number): self |
||
995 | { |
||
996 | $this->sequence["graphics-dot"] = $number; |
||
997 | |||
998 | return $this; |
||
999 | } |
||
1000 | |||
1001 | /** |
||
1002 | * @param float|int|numeric-string $number |
||
1003 | * |
||
1004 | * @return $this |
||
1005 | */ |
||
1006 | public function length_earth_radius(float|int|string $number): self |
||
1007 | { |
||
1008 | $this->sequence["length-earth-radius"] = $number; |
||
1009 | |||
1010 | return $this; |
||
1011 | } |
||
1012 | |||
1013 | /** |
||
1014 | * @param float|int|numeric-string $number |
||
1015 | * |
||
1016 | * @return $this |
||
1017 | */ |
||
1018 | public function length_kilometer(float|int|string $number): self |
||
1019 | { |
||
1020 | $this->sequence["length-kilometer"] = $number; |
||
1021 | |||
1022 | return $this; |
||
1023 | } |
||
1024 | |||
1025 | /** |
||
1026 | * @param float|int|numeric-string $number |
||
1027 | * |
||
1028 | * @return $this |
||
1029 | */ |
||
1030 | public function length_meter(float|int|string $number): self |
||
1031 | { |
||
1032 | $this->sequence["length-meter"] = $number; |
||
1033 | |||
1034 | return $this; |
||
1035 | } |
||
1036 | |||
1037 | /** |
||
1038 | * @param float|int|numeric-string $number |
||
1039 | * |
||
1040 | * @return $this |
||
1041 | */ |
||
1042 | public function length_decimeter(float|int|string $number): self |
||
1043 | { |
||
1044 | $this->sequence["length-decimeter"] = $number; |
||
1045 | |||
1046 | return $this; |
||
1047 | } |
||
1048 | |||
1049 | /** |
||
1050 | * @param float|int|numeric-string $number |
||
1051 | * |
||
1052 | * @return $this |
||
1053 | */ |
||
1054 | public function length_centimeter(float|int|string $number): self |
||
1055 | { |
||
1056 | $this->sequence["length-centimeter"] = $number; |
||
1057 | |||
1058 | return $this; |
||
1059 | } |
||
1060 | |||
1061 | /** |
||
1062 | * @param float|int|numeric-string $number |
||
1063 | * |
||
1064 | * @return $this |
||
1065 | */ |
||
1066 | public function length_millimeter(float|int|string $number): self |
||
1067 | { |
||
1068 | $this->sequence["length-millimeter"] = $number; |
||
1069 | |||
1070 | return $this; |
||
1071 | } |
||
1072 | |||
1073 | /** |
||
1074 | * @param float|int|numeric-string $number |
||
1075 | * |
||
1076 | * @return $this |
||
1077 | */ |
||
1078 | public function length_micrometer(float|int|string $number): self |
||
1079 | { |
||
1080 | $this->sequence["length-micrometer"] = $number; |
||
1081 | |||
1082 | return $this; |
||
1083 | } |
||
1084 | |||
1085 | /** |
||
1086 | * @param float|int|numeric-string $number |
||
1087 | * |
||
1088 | * @return $this |
||
1089 | */ |
||
1090 | public function length_nanometer(float|int|string $number): self |
||
1091 | { |
||
1092 | $this->sequence["length-nanometer"] = $number; |
||
1093 | |||
1094 | return $this; |
||
1095 | } |
||
1096 | |||
1097 | /** |
||
1098 | * @param float|int|numeric-string $number |
||
1099 | * |
||
1100 | * @return $this |
||
1101 | */ |
||
1102 | public function length_picometer(float|int|string $number): self |
||
1103 | { |
||
1104 | $this->sequence["length-picometer"] = $number; |
||
1105 | |||
1106 | return $this; |
||
1107 | } |
||
1108 | |||
1109 | /** |
||
1110 | * @param float|int|numeric-string $number |
||
1111 | * |
||
1112 | * @return $this |
||
1113 | */ |
||
1114 | public function length_mile(float|int|string $number): self |
||
1115 | { |
||
1116 | $this->sequence["length-mile"] = $number; |
||
1117 | |||
1118 | return $this; |
||
1119 | } |
||
1120 | |||
1121 | /** |
||
1122 | * @param float|int|numeric-string $number |
||
1123 | * |
||
1124 | * @return $this |
||
1125 | */ |
||
1126 | public function length_yard(float|int|string $number): self |
||
1127 | { |
||
1128 | $this->sequence["length-yard"] = $number; |
||
1129 | |||
1130 | return $this; |
||
1131 | } |
||
1132 | |||
1133 | /** |
||
1134 | * @param float|int|numeric-string $number |
||
1135 | * |
||
1136 | * @return $this |
||
1137 | */ |
||
1138 | public function length_foot(float|int|string $number): self |
||
1139 | { |
||
1140 | $this->sequence["length-foot"] = $number; |
||
1141 | |||
1142 | return $this; |
||
1143 | } |
||
1144 | |||
1145 | /** |
||
1146 | * @param float|int|numeric-string $number |
||
1147 | * |
||
1148 | * @return $this |
||
1149 | */ |
||
1150 | public function length_inch(float|int|string $number): self |
||
1151 | { |
||
1152 | $this->sequence["length-inch"] = $number; |
||
1153 | |||
1154 | return $this; |
||
1155 | } |
||
1156 | |||
1157 | /** |
||
1158 | * @param float|int|numeric-string $number |
||
1159 | * |
||
1160 | * @return $this |
||
1161 | */ |
||
1162 | public function length_parsec(float|int|string $number): self |
||
1163 | { |
||
1164 | $this->sequence["length-parsec"] = $number; |
||
1165 | |||
1166 | return $this; |
||
1167 | } |
||
1168 | |||
1169 | /** |
||
1170 | * @param float|int|numeric-string $number |
||
1171 | * |
||
1172 | * @return $this |
||
1173 | */ |
||
1174 | public function length_light_year(float|int|string $number): self |
||
1175 | { |
||
1176 | $this->sequence["length-light-year"] = $number; |
||
1177 | |||
1178 | return $this; |
||
1179 | } |
||
1180 | |||
1181 | /** |
||
1182 | * @param float|int|numeric-string $number |
||
1183 | * |
||
1184 | * @return $this |
||
1185 | */ |
||
1186 | public function length_astronomical_unit(float|int|string $number): self |
||
1187 | { |
||
1188 | $this->sequence["length-astronomical-unit"] = $number; |
||
1189 | |||
1190 | return $this; |
||
1191 | } |
||
1192 | |||
1193 | /** |
||
1194 | * @param float|int|numeric-string $number |
||
1195 | * |
||
1196 | * @return $this |
||
1197 | */ |
||
1198 | public function length_furlong(float|int|string $number): self |
||
1199 | { |
||
1200 | $this->sequence["length-furlong"] = $number; |
||
1201 | |||
1202 | return $this; |
||
1203 | } |
||
1204 | |||
1205 | /** |
||
1206 | * @param float|int|numeric-string $number |
||
1207 | * |
||
1208 | * @return $this |
||
1209 | */ |
||
1210 | public function length_fathom(float|int|string $number): self |
||
1211 | { |
||
1212 | $this->sequence["length-fathom"] = $number; |
||
1213 | |||
1214 | return $this; |
||
1215 | } |
||
1216 | |||
1217 | /** |
||
1218 | * @param float|int|numeric-string $number |
||
1219 | * |
||
1220 | * @return $this |
||
1221 | */ |
||
1222 | public function length_nautical_mile(float|int|string $number): self |
||
1223 | { |
||
1224 | $this->sequence["length-nautical-mile"] = $number; |
||
1225 | |||
1226 | return $this; |
||
1227 | } |
||
1228 | |||
1229 | /** |
||
1230 | * @param float|int|numeric-string $number |
||
1231 | * |
||
1232 | * @return $this |
||
1233 | */ |
||
1234 | public function length_mile_scandinavian(float|int|string $number): self |
||
1235 | { |
||
1236 | $this->sequence["length-mile-scandinavian"] = $number; |
||
1237 | |||
1238 | return $this; |
||
1239 | } |
||
1240 | |||
1241 | /** |
||
1242 | * @param float|int|numeric-string $number |
||
1243 | * |
||
1244 | * @return $this |
||
1245 | */ |
||
1246 | public function length_point(float|int|string $number): self |
||
1247 | { |
||
1248 | $this->sequence["length-point"] = $number; |
||
1249 | |||
1250 | return $this; |
||
1251 | } |
||
1252 | |||
1253 | /** |
||
1254 | * @param float|int|numeric-string $number |
||
1255 | * |
||
1256 | * @return $this |
||
1257 | */ |
||
1258 | public function length_solar_radius(float|int|string $number): self |
||
1259 | { |
||
1260 | $this->sequence["length-solar-radius"] = $number; |
||
1261 | |||
1262 | return $this; |
||
1263 | } |
||
1264 | |||
1265 | /** |
||
1266 | * @param float|int|numeric-string $number |
||
1267 | * |
||
1268 | * @return $this |
||
1269 | */ |
||
1270 | public function light_lux(float|int|string $number): self |
||
1271 | { |
||
1272 | $this->sequence["light-lux"] = $number; |
||
1273 | |||
1274 | return $this; |
||
1275 | } |
||
1276 | |||
1277 | /** |
||
1278 | * @param float|int|numeric-string $number |
||
1279 | * |
||
1280 | * @return $this |
||
1281 | */ |
||
1282 | public function light_candela(float|int|string $number): self |
||
1283 | { |
||
1284 | $this->sequence["light-candela"] = $number; |
||
1285 | |||
1286 | return $this; |
||
1287 | } |
||
1288 | |||
1289 | /** |
||
1290 | * @param float|int|numeric-string $number |
||
1291 | * |
||
1292 | * @return $this |
||
1293 | */ |
||
1294 | public function light_lumen(float|int|string $number): self |
||
1295 | { |
||
1296 | $this->sequence["light-lumen"] = $number; |
||
1297 | |||
1298 | return $this; |
||
1299 | } |
||
1300 | |||
1301 | /** |
||
1302 | * @param float|int|numeric-string $number |
||
1303 | * |
||
1304 | * @return $this |
||
1305 | */ |
||
1306 | public function light_solar_luminosity(float|int|string $number): self |
||
1307 | { |
||
1308 | $this->sequence["light-solar-luminosity"] = $number; |
||
1309 | |||
1310 | return $this; |
||
1311 | } |
||
1312 | |||
1313 | /** |
||
1314 | * @param float|int|numeric-string $number |
||
1315 | * |
||
1316 | * @return $this |
||
1317 | */ |
||
1318 | public function mass_tonne(float|int|string $number): self |
||
1319 | { |
||
1320 | $this->sequence["mass-tonne"] = $number; |
||
1321 | |||
1322 | return $this; |
||
1323 | } |
||
1324 | |||
1325 | /** |
||
1326 | * @param float|int|numeric-string $number |
||
1327 | * |
||
1328 | * @return $this |
||
1329 | */ |
||
1330 | public function mass_kilogram(float|int|string $number): self |
||
1331 | { |
||
1332 | $this->sequence["mass-kilogram"] = $number; |
||
1333 | |||
1334 | return $this; |
||
1335 | } |
||
1336 | |||
1337 | /** |
||
1338 | * @param float|int|numeric-string $number |
||
1339 | * |
||
1340 | * @return $this |
||
1341 | */ |
||
1342 | public function mass_gram(float|int|string $number): self |
||
1343 | { |
||
1344 | $this->sequence["mass-gram"] = $number; |
||
1345 | |||
1346 | return $this; |
||
1347 | } |
||
1348 | |||
1349 | /** |
||
1350 | * @param float|int|numeric-string $number |
||
1351 | * |
||
1352 | * @return $this |
||
1353 | */ |
||
1354 | public function mass_milligram(float|int|string $number): self |
||
1355 | { |
||
1356 | $this->sequence["mass-milligram"] = $number; |
||
1357 | |||
1358 | return $this; |
||
1359 | } |
||
1360 | |||
1361 | /** |
||
1362 | * @param float|int|numeric-string $number |
||
1363 | * |
||
1364 | * @return $this |
||
1365 | */ |
||
1366 | public function mass_microgram(float|int|string $number): self |
||
1367 | { |
||
1368 | $this->sequence["mass-microgram"] = $number; |
||
1369 | |||
1370 | return $this; |
||
1371 | } |
||
1372 | |||
1373 | /** |
||
1374 | * @param float|int|numeric-string $number |
||
1375 | * |
||
1376 | * @return $this |
||
1377 | */ |
||
1378 | public function mass_ton(float|int|string $number): self |
||
1379 | { |
||
1380 | $this->sequence["mass-ton"] = $number; |
||
1381 | |||
1382 | return $this; |
||
1383 | } |
||
1384 | |||
1385 | /** |
||
1386 | * @param float|int|numeric-string $number |
||
1387 | * |
||
1388 | * @return $this |
||
1389 | */ |
||
1390 | public function mass_stone(float|int|string $number): self |
||
1391 | { |
||
1392 | $this->sequence["mass-stone"] = $number; |
||
1393 | |||
1394 | return $this; |
||
1395 | } |
||
1396 | |||
1397 | /** |
||
1398 | * @param float|int|numeric-string $number |
||
1399 | * |
||
1400 | * @return $this |
||
1401 | */ |
||
1402 | public function mass_pound(float|int|string $number): self |
||
1403 | { |
||
1404 | $this->sequence["mass-pound"] = $number; |
||
1405 | |||
1406 | return $this; |
||
1407 | } |
||
1408 | |||
1409 | /** |
||
1410 | * @param float|int|numeric-string $number |
||
1411 | * |
||
1412 | * @return $this |
||
1413 | */ |
||
1414 | public function mass_ounce(float|int|string $number): self |
||
1415 | { |
||
1416 | $this->sequence["mass-ounce"] = $number; |
||
1417 | |||
1418 | return $this; |
||
1419 | } |
||
1420 | |||
1421 | /** |
||
1422 | * @param float|int|numeric-string $number |
||
1423 | * |
||
1424 | * @return $this |
||
1425 | */ |
||
1426 | public function mass_ounce_troy(float|int|string $number): self |
||
1427 | { |
||
1428 | $this->sequence["mass-ounce-troy"] = $number; |
||
1429 | |||
1430 | return $this; |
||
1431 | } |
||
1432 | |||
1433 | /** |
||
1434 | * @param float|int|numeric-string $number |
||
1435 | * |
||
1436 | * @return $this |
||
1437 | */ |
||
1438 | public function mass_carat(float|int|string $number): self |
||
1439 | { |
||
1440 | $this->sequence["mass-carat"] = $number; |
||
1441 | |||
1442 | return $this; |
||
1443 | } |
||
1444 | |||
1445 | /** |
||
1446 | * @param float|int|numeric-string $number |
||
1447 | * |
||
1448 | * @return $this |
||
1449 | */ |
||
1450 | public function mass_dalton(float|int|string $number): self |
||
1451 | { |
||
1452 | $this->sequence["mass-dalton"] = $number; |
||
1453 | |||
1454 | return $this; |
||
1455 | } |
||
1456 | |||
1457 | /** |
||
1458 | * @param float|int|numeric-string $number |
||
1459 | * |
||
1460 | * @return $this |
||
1461 | */ |
||
1462 | public function mass_earth_mass(float|int|string $number): self |
||
1463 | { |
||
1464 | $this->sequence["mass-earth-mass"] = $number; |
||
1465 | |||
1466 | return $this; |
||
1467 | } |
||
1468 | |||
1469 | /** |
||
1470 | * @param float|int|numeric-string $number |
||
1471 | * |
||
1472 | * @return $this |
||
1473 | */ |
||
1474 | public function mass_solar_mass(float|int|string $number): self |
||
1475 | { |
||
1476 | $this->sequence["mass-solar-mass"] = $number; |
||
1477 | |||
1478 | return $this; |
||
1479 | } |
||
1480 | |||
1481 | /** |
||
1482 | * @param float|int|numeric-string $number |
||
1483 | * |
||
1484 | * @return $this |
||
1485 | */ |
||
1486 | public function mass_grain(float|int|string $number): self |
||
1487 | { |
||
1488 | $this->sequence["mass-grain"] = $number; |
||
1489 | |||
1490 | return $this; |
||
1491 | } |
||
1492 | |||
1493 | /** |
||
1494 | * @param float|int|numeric-string $number |
||
1495 | * |
||
1496 | * @return $this |
||
1497 | */ |
||
1498 | public function power_gigawatt(float|int|string $number): self |
||
1499 | { |
||
1500 | $this->sequence["power-gigawatt"] = $number; |
||
1501 | |||
1502 | return $this; |
||
1503 | } |
||
1504 | |||
1505 | /** |
||
1506 | * @param float|int|numeric-string $number |
||
1507 | * |
||
1508 | * @return $this |
||
1509 | */ |
||
1510 | public function power_megawatt(float|int|string $number): self |
||
1511 | { |
||
1512 | $this->sequence["power-megawatt"] = $number; |
||
1513 | |||
1514 | return $this; |
||
1515 | } |
||
1516 | |||
1517 | /** |
||
1518 | * @param float|int|numeric-string $number |
||
1519 | * |
||
1520 | * @return $this |
||
1521 | */ |
||
1522 | public function power_kilowatt(float|int|string $number): self |
||
1523 | { |
||
1524 | $this->sequence["power-kilowatt"] = $number; |
||
1525 | |||
1526 | return $this; |
||
1527 | } |
||
1528 | |||
1529 | /** |
||
1530 | * @param float|int|numeric-string $number |
||
1531 | * |
||
1532 | * @return $this |
||
1533 | */ |
||
1534 | public function power_watt(float|int|string $number): self |
||
1535 | { |
||
1536 | $this->sequence["power-watt"] = $number; |
||
1537 | |||
1538 | return $this; |
||
1539 | } |
||
1540 | |||
1541 | /** |
||
1542 | * @param float|int|numeric-string $number |
||
1543 | * |
||
1544 | * @return $this |
||
1545 | */ |
||
1546 | public function power_milliwatt(float|int|string $number): self |
||
1547 | { |
||
1548 | $this->sequence["power-milliwatt"] = $number; |
||
1549 | |||
1550 | return $this; |
||
1551 | } |
||
1552 | |||
1553 | /** |
||
1554 | * @param float|int|numeric-string $number |
||
1555 | * |
||
1556 | * @return $this |
||
1557 | */ |
||
1558 | public function power_horsepower(float|int|string $number): self |
||
1559 | { |
||
1560 | $this->sequence["power-horsepower"] = $number; |
||
1561 | |||
1562 | return $this; |
||
1563 | } |
||
1564 | |||
1565 | /** |
||
1566 | * @param float|int|numeric-string $number |
||
1567 | * |
||
1568 | * @return $this |
||
1569 | */ |
||
1570 | public function pressure_millimeter_ofhg(float|int|string $number): self |
||
1571 | { |
||
1572 | $this->sequence["pressure-millimeter-ofhg"] = $number; |
||
1573 | |||
1574 | return $this; |
||
1575 | } |
||
1576 | |||
1577 | /** |
||
1578 | * @param float|int|numeric-string $number |
||
1579 | * |
||
1580 | * @return $this |
||
1581 | */ |
||
1582 | public function pressure_pound_force_per_square_inch(float|int|string $number): self |
||
1583 | { |
||
1584 | $this->sequence["pressure-pound-force-per-square-inch"] = $number; |
||
1585 | |||
1586 | return $this; |
||
1587 | } |
||
1588 | |||
1589 | /** |
||
1590 | * @param float|int|numeric-string $number |
||
1591 | * |
||
1592 | * @return $this |
||
1593 | */ |
||
1594 | public function pressure_inch_ofhg(float|int|string $number): self |
||
1595 | { |
||
1596 | $this->sequence["pressure-inch-ofhg"] = $number; |
||
1597 | |||
1598 | return $this; |
||
1599 | } |
||
1600 | |||
1601 | /** |
||
1602 | * @param float|int|numeric-string $number |
||
1603 | * |
||
1604 | * @return $this |
||
1605 | */ |
||
1606 | public function pressure_bar(float|int|string $number): self |
||
1607 | { |
||
1608 | $this->sequence["pressure-bar"] = $number; |
||
1609 | |||
1610 | return $this; |
||
1611 | } |
||
1612 | |||
1613 | /** |
||
1614 | * @param float|int|numeric-string $number |
||
1615 | * |
||
1616 | * @return $this |
||
1617 | */ |
||
1618 | public function pressure_millibar(float|int|string $number): self |
||
1619 | { |
||
1620 | $this->sequence["pressure-millibar"] = $number; |
||
1621 | |||
1622 | return $this; |
||
1623 | } |
||
1624 | |||
1625 | /** |
||
1626 | * @param float|int|numeric-string $number |
||
1627 | * |
||
1628 | * @return $this |
||
1629 | */ |
||
1630 | public function pressure_atmosphere(float|int|string $number): self |
||
1631 | { |
||
1632 | $this->sequence["pressure-atmosphere"] = $number; |
||
1633 | |||
1634 | return $this; |
||
1635 | } |
||
1636 | |||
1637 | /** |
||
1638 | * @param float|int|numeric-string $number |
||
1639 | * |
||
1640 | * @return $this |
||
1641 | */ |
||
1642 | public function pressure_pascal(float|int|string $number): self |
||
1643 | { |
||
1644 | $this->sequence["pressure-pascal"] = $number; |
||
1645 | |||
1646 | return $this; |
||
1647 | } |
||
1648 | |||
1649 | /** |
||
1650 | * @param float|int|numeric-string $number |
||
1651 | * |
||
1652 | * @return $this |
||
1653 | */ |
||
1654 | public function pressure_hectopascal(float|int|string $number): self |
||
1655 | { |
||
1656 | $this->sequence["pressure-hectopascal"] = $number; |
||
1657 | |||
1658 | return $this; |
||
1659 | } |
||
1660 | |||
1661 | /** |
||
1662 | * @param float|int|numeric-string $number |
||
1663 | * |
||
1664 | * @return $this |
||
1665 | */ |
||
1666 | public function pressure_kilopascal(float|int|string $number): self |
||
1667 | { |
||
1668 | $this->sequence["pressure-kilopascal"] = $number; |
||
1669 | |||
1670 | return $this; |
||
1671 | } |
||
1672 | |||
1673 | /** |
||
1674 | * @param float|int|numeric-string $number |
||
1675 | * |
||
1676 | * @return $this |
||
1677 | */ |
||
1678 | public function pressure_megapascal(float|int|string $number): self |
||
1679 | { |
||
1680 | $this->sequence["pressure-megapascal"] = $number; |
||
1681 | |||
1682 | return $this; |
||
1683 | } |
||
1684 | |||
1685 | /** |
||
1686 | * @param float|int|numeric-string $number |
||
1687 | * |
||
1688 | * @return $this |
||
1689 | */ |
||
1690 | public function speed_kilometer_per_hour(float|int|string $number): self |
||
1691 | { |
||
1692 | $this->sequence["speed-kilometer-per-hour"] = $number; |
||
1693 | |||
1694 | return $this; |
||
1695 | } |
||
1696 | |||
1697 | /** |
||
1698 | * @param float|int|numeric-string $number |
||
1699 | * |
||
1700 | * @return $this |
||
1701 | */ |
||
1702 | public function speed_meter_per_second(float|int|string $number): self |
||
1703 | { |
||
1704 | $this->sequence["speed-meter-per-second"] = $number; |
||
1705 | |||
1706 | return $this; |
||
1707 | } |
||
1708 | |||
1709 | /** |
||
1710 | * @param float|int|numeric-string $number |
||
1711 | * |
||
1712 | * @return $this |
||
1713 | */ |
||
1714 | public function speed_mile_per_hour(float|int|string $number): self |
||
1715 | { |
||
1716 | $this->sequence["speed-mile-per-hour"] = $number; |
||
1717 | |||
1718 | return $this; |
||
1719 | } |
||
1720 | |||
1721 | /** |
||
1722 | * @param float|int|numeric-string $number |
||
1723 | * |
||
1724 | * @return $this |
||
1725 | */ |
||
1726 | public function speed_knot(float|int|string $number): self |
||
1727 | { |
||
1728 | $this->sequence["speed-knot"] = $number; |
||
1729 | |||
1730 | return $this; |
||
1731 | } |
||
1732 | |||
1733 | /** |
||
1734 | * @param float|int|numeric-string $number |
||
1735 | * |
||
1736 | * @return $this |
||
1737 | */ |
||
1738 | public function speed_beaufort(float|int|string $number): self |
||
1739 | { |
||
1740 | $this->sequence["speed-beaufort"] = $number; |
||
1741 | |||
1742 | return $this; |
||
1743 | } |
||
1744 | |||
1745 | /** |
||
1746 | * @param float|int|numeric-string $number |
||
1747 | * |
||
1748 | * @return $this |
||
1749 | */ |
||
1750 | public function temperature_generic(float|int|string $number): self |
||
1751 | { |
||
1752 | $this->sequence["temperature-generic"] = $number; |
||
1753 | |||
1754 | return $this; |
||
1755 | } |
||
1756 | |||
1757 | /** |
||
1758 | * @param float|int|numeric-string $number |
||
1759 | * |
||
1760 | * @return $this |
||
1761 | */ |
||
1762 | public function temperature_celsius(float|int|string $number): self |
||
1763 | { |
||
1764 | $this->sequence["temperature-celsius"] = $number; |
||
1765 | |||
1766 | return $this; |
||
1767 | } |
||
1768 | |||
1769 | /** |
||
1770 | * @param float|int|numeric-string $number |
||
1771 | * |
||
1772 | * @return $this |
||
1773 | */ |
||
1774 | public function temperature_fahrenheit(float|int|string $number): self |
||
1775 | { |
||
1776 | $this->sequence["temperature-fahrenheit"] = $number; |
||
1777 | |||
1778 | return $this; |
||
1779 | } |
||
1780 | |||
1781 | /** |
||
1782 | * @param float|int|numeric-string $number |
||
1783 | * |
||
1784 | * @return $this |
||
1785 | */ |
||
1786 | public function temperature_kelvin(float|int|string $number): self |
||
1787 | { |
||
1788 | $this->sequence["temperature-kelvin"] = $number; |
||
1789 | |||
1790 | return $this; |
||
1791 | } |
||
1792 | |||
1793 | /** |
||
1794 | * @param float|int|numeric-string $number |
||
1795 | * |
||
1796 | * @return $this |
||
1797 | */ |
||
1798 | public function torque_pound_force_foot(float|int|string $number): self |
||
1799 | { |
||
1800 | $this->sequence["torque-pound-force-foot"] = $number; |
||
1801 | |||
1802 | return $this; |
||
1803 | } |
||
1804 | |||
1805 | /** |
||
1806 | * @param float|int|numeric-string $number |
||
1807 | * |
||
1808 | * @return $this |
||
1809 | */ |
||
1810 | public function torque_newton_meter(float|int|string $number): self |
||
1811 | { |
||
1812 | $this->sequence["torque-newton-meter"] = $number; |
||
1813 | |||
1814 | return $this; |
||
1815 | } |
||
1816 | |||
1817 | /** |
||
1818 | * @param float|int|numeric-string $number |
||
1819 | * |
||
1820 | * @return $this |
||
1821 | */ |
||
1822 | public function volume_cubic_kilometer(float|int|string $number): self |
||
1823 | { |
||
1824 | $this->sequence["volume-cubic-kilometer"] = $number; |
||
1825 | |||
1826 | return $this; |
||
1827 | } |
||
1828 | |||
1829 | /** |
||
1830 | * @param float|int|numeric-string $number |
||
1831 | * |
||
1832 | * @return $this |
||
1833 | */ |
||
1834 | public function volume_cubic_meter(float|int|string $number): self |
||
1835 | { |
||
1836 | $this->sequence["volume-cubic-meter"] = $number; |
||
1837 | |||
1838 | return $this; |
||
1839 | } |
||
1840 | |||
1841 | /** |
||
1842 | * @param float|int|numeric-string $number |
||
1843 | * |
||
1844 | * @return $this |
||
1845 | */ |
||
1846 | public function volume_cubic_centimeter(float|int|string $number): self |
||
1847 | { |
||
1848 | $this->sequence["volume-cubic-centimeter"] = $number; |
||
1849 | |||
1850 | return $this; |
||
1851 | } |
||
1852 | |||
1853 | /** |
||
1854 | * @param float|int|numeric-string $number |
||
1855 | * |
||
1856 | * @return $this |
||
1857 | */ |
||
1858 | public function volume_cubic_mile(float|int|string $number): self |
||
1859 | { |
||
1860 | $this->sequence["volume-cubic-mile"] = $number; |
||
1861 | |||
1862 | return $this; |
||
1863 | } |
||
1864 | |||
1865 | /** |
||
1866 | * @param float|int|numeric-string $number |
||
1867 | * |
||
1868 | * @return $this |
||
1869 | */ |
||
1870 | public function volume_cubic_yard(float|int|string $number): self |
||
1871 | { |
||
1872 | $this->sequence["volume-cubic-yard"] = $number; |
||
1873 | |||
1874 | return $this; |
||
1875 | } |
||
1876 | |||
1877 | /** |
||
1878 | * @param float|int|numeric-string $number |
||
1879 | * |
||
1880 | * @return $this |
||
1881 | */ |
||
1882 | public function volume_cubic_foot(float|int|string $number): self |
||
1883 | { |
||
1884 | $this->sequence["volume-cubic-foot"] = $number; |
||
1885 | |||
1886 | return $this; |
||
1887 | } |
||
1888 | |||
1889 | /** |
||
1890 | * @param float|int|numeric-string $number |
||
1891 | * |
||
1892 | * @return $this |
||
1893 | */ |
||
1894 | public function volume_cubic_inch(float|int|string $number): self |
||
1895 | { |
||
1896 | $this->sequence["volume-cubic-inch"] = $number; |
||
1897 | |||
1898 | return $this; |
||
1899 | } |
||
1900 | |||
1901 | /** |
||
1902 | * @param float|int|numeric-string $number |
||
1903 | * |
||
1904 | * @return $this |
||
1905 | */ |
||
1906 | public function volume_megaliter(float|int|string $number): self |
||
1907 | { |
||
1908 | $this->sequence["volume-megaliter"] = $number; |
||
1909 | |||
1910 | return $this; |
||
1911 | } |
||
1912 | |||
1913 | /** |
||
1914 | * @param float|int|numeric-string $number |
||
1915 | * |
||
1916 | * @return $this |
||
1917 | */ |
||
1918 | public function volume_hectoliter(float|int|string $number): self |
||
1919 | { |
||
1920 | $this->sequence["volume-hectoliter"] = $number; |
||
1921 | |||
1922 | return $this; |
||
1923 | } |
||
1924 | |||
1925 | /** |
||
1926 | * @param float|int|numeric-string $number |
||
1927 | * |
||
1928 | * @return $this |
||
1929 | */ |
||
1930 | public function volume_liter(float|int|string $number): self |
||
1931 | { |
||
1932 | $this->sequence["volume-liter"] = $number; |
||
1933 | |||
1934 | return $this; |
||
1935 | } |
||
1936 | |||
1937 | /** |
||
1938 | * @param float|int|numeric-string $number |
||
1939 | * |
||
1940 | * @return $this |
||
1941 | */ |
||
1942 | public function volume_deciliter(float|int|string $number): self |
||
1943 | { |
||
1944 | $this->sequence["volume-deciliter"] = $number; |
||
1945 | |||
1946 | return $this; |
||
1947 | } |
||
1948 | |||
1949 | /** |
||
1950 | * @param float|int|numeric-string $number |
||
1951 | * |
||
1952 | * @return $this |
||
1953 | */ |
||
1954 | public function volume_centiliter(float|int|string $number): self |
||
1955 | { |
||
1956 | $this->sequence["volume-centiliter"] = $number; |
||
1957 | |||
1958 | return $this; |
||
1959 | } |
||
1960 | |||
1961 | /** |
||
1962 | * @param float|int|numeric-string $number |
||
1963 | * |
||
1964 | * @return $this |
||
1965 | */ |
||
1966 | public function volume_milliliter(float|int|string $number): self |
||
1967 | { |
||
1968 | $this->sequence["volume-milliliter"] = $number; |
||
1969 | |||
1970 | return $this; |
||
1971 | } |
||
1972 | |||
1973 | /** |
||
1974 | * @param float|int|numeric-string $number |
||
1975 | * |
||
1976 | * @return $this |
||
1977 | */ |
||
1978 | public function volume_pint_metric(float|int|string $number): self |
||
1983 | } |
||
1984 | |||
1985 | /** |
||
1986 | * @param float|int|numeric-string $number |
||
1987 | * |
||
1988 | * @return $this |
||
1989 | */ |
||
1990 | public function volume_cup_metric(float|int|string $number): self |
||
1991 | { |
||
1992 | $this->sequence["volume-cup-metric"] = $number; |
||
1993 | |||
1994 | return $this; |
||
1995 | } |
||
1996 | |||
1997 | /** |
||
1998 | * @param float|int|numeric-string $number |
||
1999 | * |
||
2000 | * @return $this |
||
2001 | */ |
||
2002 | public function volume_acre_foot(float|int|string $number): self |
||
2003 | { |
||
2004 | $this->sequence["volume-acre-foot"] = $number; |
||
2005 | |||
2006 | return $this; |
||
2007 | } |
||
2008 | |||
2009 | /** |
||
2010 | * @param float|int|numeric-string $number |
||
2011 | * |
||
2012 | * @return $this |
||
2013 | */ |
||
2014 | public function volume_bushel(float|int|string $number): self |
||
2015 | { |
||
2016 | $this->sequence["volume-bushel"] = $number; |
||
2017 | |||
2018 | return $this; |
||
2019 | } |
||
2020 | |||
2021 | /** |
||
2022 | * @param float|int|numeric-string $number |
||
2023 | * |
||
2024 | * @return $this |
||
2025 | */ |
||
2026 | public function volume_gallon(float|int|string $number): self |
||
2027 | { |
||
2028 | $this->sequence["volume-gallon"] = $number; |
||
2029 | |||
2030 | return $this; |
||
2031 | } |
||
2032 | |||
2033 | /** |
||
2034 | * @param float|int|numeric-string $number |
||
2035 | * |
||
2036 | * @return $this |
||
2037 | */ |
||
2038 | public function volume_gallon_imperial(float|int|string $number): self |
||
2039 | { |
||
2040 | $this->sequence["volume-gallon-imperial"] = $number; |
||
2041 | |||
2042 | return $this; |
||
2043 | } |
||
2044 | |||
2045 | /** |
||
2046 | * @param float|int|numeric-string $number |
||
2047 | * |
||
2048 | * @return $this |
||
2049 | */ |
||
2050 | public function volume_quart(float|int|string $number): self |
||
2051 | { |
||
2052 | $this->sequence["volume-quart"] = $number; |
||
2053 | |||
2054 | return $this; |
||
2055 | } |
||
2056 | |||
2057 | /** |
||
2058 | * @param float|int|numeric-string $number |
||
2059 | * |
||
2060 | * @return $this |
||
2061 | */ |
||
2062 | public function volume_pint(float|int|string $number): self |
||
2063 | { |
||
2064 | $this->sequence["volume-pint"] = $number; |
||
2065 | |||
2066 | return $this; |
||
2067 | } |
||
2068 | |||
2069 | /** |
||
2070 | * @param float|int|numeric-string $number |
||
2071 | * |
||
2072 | * @return $this |
||
2073 | */ |
||
2074 | public function volume_cup(float|int|string $number): self |
||
2075 | { |
||
2076 | $this->sequence["volume-cup"] = $number; |
||
2077 | |||
2078 | return $this; |
||
2079 | } |
||
2080 | |||
2081 | /** |
||
2082 | * @param float|int|numeric-string $number |
||
2083 | * |
||
2084 | * @return $this |
||
2085 | */ |
||
2086 | public function volume_fluid_ounce(float|int|string $number): self |
||
2091 | } |
||
2092 | |||
2093 | /** |
||
2094 | * @param float|int|numeric-string $number |
||
2095 | * |
||
2096 | * @return $this |
||
2097 | */ |
||
2098 | public function volume_fluid_ounce_imperial(float|int|string $number): self |
||
2099 | { |
||
2100 | $this->sequence["volume-fluid-ounce-imperial"] = $number; |
||
2101 | |||
2102 | return $this; |
||
2103 | } |
||
2104 | |||
2105 | /** |
||
2106 | * @param float|int|numeric-string $number |
||
2107 | * |
||
2108 | * @return $this |
||
2109 | */ |
||
2110 | public function volume_tablespoon(float|int|string $number): self |
||
2111 | { |
||
2112 | $this->sequence["volume-tablespoon"] = $number; |
||
2113 | |||
2114 | return $this; |
||
2115 | } |
||
2116 | |||
2117 | /** |
||
2118 | * @param float|int|numeric-string $number |
||
2119 | * |
||
2120 | * @return $this |
||
2121 | */ |
||
2122 | public function volume_teaspoon(float|int|string $number): self |
||
2123 | { |
||
2124 | $this->sequence["volume-teaspoon"] = $number; |
||
2125 | |||
2126 | return $this; |
||
2127 | } |
||
2128 | |||
2129 | /** |
||
2130 | * @param float|int|numeric-string $number |
||
2131 | * |
||
2132 | * @return $this |
||
2133 | */ |
||
2134 | public function volume_barrel(float|int|string $number): self |
||
2135 | { |
||
2136 | $this->sequence["volume-barrel"] = $number; |
||
2137 | |||
2138 | return $this; |
||
2139 | } |
||
2140 | |||
2141 | /** |
||
2142 | * @param float|int|numeric-string $number |
||
2143 | * |
||
2144 | * @return $this |
||
2145 | */ |
||
2146 | public function volume_dessert_spoon(float|int|string $number): self |
||
2147 | { |
||
2148 | $this->sequence["volume-dessert-spoon"] = $number; |
||
2149 | |||
2150 | return $this; |
||
2151 | } |
||
2152 | |||
2153 | /** |
||
2154 | * @param float|int|numeric-string $number |
||
2155 | * |
||
2156 | * @return $this |
||
2157 | */ |
||
2158 | public function volume_dessert_spoon_imperial(float|int|string $number): self |
||
2159 | { |
||
2160 | $this->sequence["volume-dessert-spoon-imperial"] = $number; |
||
2161 | |||
2162 | return $this; |
||
2163 | } |
||
2164 | |||
2165 | /** |
||
2166 | * @param float|int|numeric-string $number |
||
2167 | * |
||
2168 | * @return $this |
||
2169 | */ |
||
2170 | public function volume_drop(float|int|string $number): self |
||
2171 | { |
||
2172 | $this->sequence["volume-drop"] = $number; |
||
2173 | |||
2174 | return $this; |
||
2175 | } |
||
2176 | |||
2177 | /** |
||
2178 | * @param float|int|numeric-string $number |
||
2179 | * |
||
2180 | * @return $this |
||
2181 | */ |
||
2182 | public function volume_dram(float|int|string $number): self |
||
2183 | { |
||
2184 | $this->sequence["volume-dram"] = $number; |
||
2185 | |||
2186 | return $this; |
||
2187 | } |
||
2188 | |||
2189 | /** |
||
2190 | * @param float|int|numeric-string $number |
||
2191 | * |
||
2192 | * @return $this |
||
2193 | */ |
||
2194 | public function volume_jigger(float|int|string $number): self |
||
2199 | } |
||
2200 | |||
2201 | /** |
||
2202 | * @param float|int|numeric-string $number |
||
2203 | * |
||
2204 | * @return $this |
||
2205 | */ |
||
2206 | public function volume_pinch(float|int|string $number): self |
||
2207 | { |
||
2208 | $this->sequence["volume-pinch"] = $number; |
||
2209 | |||
2210 | return $this; |
||
2211 | } |
||
2212 | |||
2213 | /** |
||
2214 | * @param float|int|numeric-string $number |
||
2215 | * |
||
2216 | * @return $this |
||
2217 | */ |
||
2218 | public function volume_quart_imperial(float|int|string $number): self |
||
2219 | { |
||
2220 | $this->sequence["volume-quart-imperial"] = $number; |
||
2221 | |||
2222 | return $this; |
||
2223 | } |
||
2224 | |||
2225 | /** |
||
2226 | * @param float|int|numeric-string $number |
||
2227 | * |
||
2228 | * @return $this |
||
2229 | */ |
||
2230 | public function pressure_gasoline_energy_density(float|int|string $number): self |
||
2231 | { |
||
2232 | $this->sequence["pressure-gasoline-energy-density"] = $number; |
||
2233 | |||
2234 | return $this; |
||
2235 | } |
||
2236 | } |
||
2237 |