public static function fromMassAndVolume(Mass $mass, Volume $volume)
	{
		$grams = $mass->convertTo(UnitMass::grams());
		$liters = $volume->convertTo(UnitVolume::liters());

		$gramsPerLiter = $grams->value() / $liters->value();

		return new static($gramsPerLiter, UnitConcentrationMass::gramsPerLiter());
	}
public static function fromMassAndVolume(Mass $mass, Volume $volume)
	{
		$grams = $mass->convertTo(UnitMass::grams());
		$liters = $volume->convertTo(UnitVolume::liters());

		$gramsPerLiter = $grams->value() / $liters->value();

		return new static($gramsPerLiter, UnitConcentrationMass::gramsPerLiter());
	}
public static function fromMassAndVolume ( Mass $ mass , Volume $ volume ) { $ grams = $ mass -> convertTo ( UnitMass :: grams ( ) ) ; $ liters = $ volume -> convertTo ( UnitVolume :: liters ( ) ) ; $ gramsPerLiter = $ grams -> value ( ) / $ liters -> value ( ) ; return new static ( $ gramsPerLiter , UnitConcentrationMass :: gramsPerLiter ( ) ) ; }
Returns a concentration of mass measurement computed from the specified mass and volume.

@param Mass   $mass   A mass.
@param Volume $volume A volume.

@return \Measurements\Quantities\ConcentrationMass The concentration of mass that corresponds to the given mass and volume.
Returns a concentration of mass measurement computed from the specified mass and volume .