Add list of length and weight units

This commit is contained in:
Joshua Ramon Enslin 2020-08-06 11:08:10 +02:00 committed by Stefan Rohde-Enslin
parent aa4d706350
commit 4e3c98719c

16
src/MDUnitsSet.php Normal file
View File

@ -0,0 +1,16 @@
<?PHP
/**
* Contains a class for controlling the list of available units.
*
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/
/**
* Class containing available units for weights, lengths etc.
*/
class MDUnitsSet {
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm'];
const UNITS_WEIGHT = ['', 't', 'kg', 'g'];
}