Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
VolumeType
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\Utils\Converter
8 * @copyright Dennis Eichhorn
9 * @license   OMS License 2.0
10 * @version   1.0.0
11 * @link      https://jingga.app
12 */
13declare(strict_types=1);
14
15namespace phpOMS\Utils\Converter;
16
17use phpOMS\Stdlib\Base\Enum;
18
19/**
20 * Volume type enum.
21 *
22 * @package phpOMS\Utils\Converter
23 * @license OMS License 2.0
24 * @link    https://jingga.app
25 * @since   1.0.0
26 */
27abstract class VolumeType extends Enum
28{
29    public const UK_GALLON = 'UK gal';
30
31    public const US_GALLON_LIQUID = 'US gal lqd';
32
33    public const US_GALLON_DRY = 'US gal dry';
34
35    public const UK_PINT = 'pt';
36
37    public const US_PINT_LIQUID = 'US pt lqd';
38
39    public const US_PINT_DRY = 'US pt dry';
40
41    public const US_QUARTS_LIQUID = 'US qt lqd';
42
43    public const US_QUARTS_DRY = 'US qt dry';
44
45    public const UK_QUARTS = 'UK qt dry';
46
47    public const US_GILL = 'US gi';
48
49    public const UK_GILL = 'UK gi';
50
51    public const LITER = 'l';
52
53    public const MICROLITER = 'mul';
54
55    public const MILLILITER = 'ml';
56
57    public const CENTILITER = 'cl';
58
59    public const KILOLITER = 'kl';
60
61    public const UK_BARREL = 'UK bbl';
62
63    public const US_BARREL_DRY = 'US bbl dry';
64
65    public const US_BARREL_LIQUID = 'US bbl lqd';
66
67    public const US_BARREL_OIL = 'US bbl oil';
68
69    public const US_BARREL_FEDERAL = 'US bbl fed';
70
71    public const US_OUNCES = 'us fl oz';
72
73    public const UK_OUNCES = 'uk fl oz';
74
75    public const US_TEASPOON = 'US tsp';
76
77    public const UK_TEASPOON = 'UK tsp';
78
79    public const METRIC_TEASPOON = 'Metric tsp';
80
81    public const US_TABLESPOON = 'US tblsp';
82
83    public const UK_TABLESPOON = 'UK tblsp';
84
85    public const METRIC_TABLESPOON = 'Metric tblsp';
86
87    public const US_CUP = 'US cup';
88
89    public const CAN_CUP = 'Can cup';
90
91    public const METRIC_CUP = 'Metric cup';
92
93    public const CUBIC_CENTIMETER = 'cm';
94
95    public const CUBIC_MILLIMETER = 'mm';
96
97    public const CUBIC_METER = 'm';
98
99    public const CUBIC_INCH = 'in';
100
101    public const CUBIC_FEET = 'ft';
102
103    public const CUBIC_YARD = 'yd';
104}