VolumeUnit.php Interfaces, Classes and Traits VolumeUnit Volume base data class. Any new volume units should extend this class and implement their name, symbol and units; overriding the $unitOf and $base properties only if necessary.