Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
PressureType | 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 | */ |
13 | declare(strict_types=1); |
14 | |
15 | namespace phpOMS\Utils\Converter; |
16 | |
17 | use phpOMS\Stdlib\Base\Enum; |
18 | |
19 | /** |
20 | * Pressure 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 | */ |
27 | abstract class PressureType extends Enum |
28 | { |
29 | public const PASCALS = 'Pa'; |
30 | |
31 | public const BAR = 'bar'; |
32 | |
33 | public const POUND_PER_SQUARE_INCH = 'psi'; |
34 | |
35 | public const ATMOSPHERES = 'atm'; |
36 | |
37 | public const INCHES_OF_MERCURY = 'inHg'; |
38 | |
39 | public const INCHES_OF_WATER = 'inH20'; |
40 | |
41 | public const MILLIMETERS_OF_WATER = 'mmH20'; |
42 | |
43 | public const MILLIMETERS_OF_MERCURY = 'mmHg'; |
44 | |
45 | public const MILLIBAR = 'mbar'; |
46 | |
47 | public const KILOGRAM_PER_SQUARE_METER = 'kg/m2'; |
48 | |
49 | public const NEWTONS_PER_METER_SQUARED = 'N/m2'; |
50 | |
51 | public const POUNDS_PER_SQUARE_FOOT = 'psf'; |
52 | |
53 | public const TORRS = 'Torr'; |
54 | } |