diff --git a/src/UnitConverter/Unit/Volume/CubicMetre.php b/src/UnitConverter/Unit/Volume/CubicMetre.php new file mode 100644 index 00000000..8a9ea2c3 --- /dev/null +++ b/src/UnitConverter/Unit/Volume/CubicMetre.php @@ -0,0 +1,39 @@ + + * @license MIT + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +declare(strict_types = 1); + +namespace UnitConverter\Unit\Volume; + +use UnitConverter\Measure; +use UnitConverter\Unit\{ AbstractUnit, UnitInterface }; + +/** + * Cubic metre unit data class. + * + * @version 1.0.0 + * @since 1.0.0 + * @author Jordan Brauer + */ +class CubicMetre extends VolumeUnit +{ + protected function configure () : void + { + $this + ->setName("cubic metre") + + ->setSymbol("m3") + + ->setUnits(1000) + ; + } +}