public static function fromLengths(Length $length, Length $width, Length $height)
	{
		$length = $length->convertTo(UnitLength::meters());
		$width = $width->convertTo(UnitLength::meters());
		$height = $height->convertTo(UnitLength::meters());

		$volume = $length->value() * $width->value() * $height->value();

		$volumeInCubicMeters = new static($volume, UnitVolume::cubicMeters());

		return $volumeInCubicMeters->convertTo(UnitVolume::baseUnit());
	}
public static function fromLengths(Length $length, Length $width, Length $height)
	{
		$length = $length->convertTo(UnitLength::meters());
		$width = $width->convertTo(UnitLength::meters());
		$height = $height->convertTo(UnitLength::meters());

		$volume = $length->value() * $width->value() * $height->value();

		$volumeInCubicMeters = new static($volume, UnitVolume::cubicMeters());

		return $volumeInCubicMeters->convertTo(UnitVolume::baseUnit());
	}
public static function fromLengths ( Length $ length , Length $ width , Length $ height ) { $ length = $ length -> convertTo ( UnitLength :: meters ( ) ) ; $ width = $ width -> convertTo ( UnitLength :: meters ( ) ) ; $ height = $ height -> convertTo ( UnitLength :: meters ( ) ) ; $ volume = $ length -> value ( ) * $ width -> value ( ) * $ height -> value ( ) ; $ volumeInCubicMeters = new static ( $ volume , UnitVolume :: cubicMeters ( ) ) ; return $ volumeInCubicMeters -> convertTo ( UnitVolume :: baseUnit ( ) ) ; }
Returns a volume measurement computed from the specified length, width and height.

@param Length $length A length.
@param Length $width A width.
@param Length $height A height.

@return \Measurements\Quantities\Volume The volume that corresponds to the given length, width and height.
Returns a volume measurement computed from the specified length width and height .