getID(); } /** * @return string */ public function getUnit(): string { return $this->unit; } /** * @param string $unit * @return MeasurementUnit */ public function setUnit(string $unit): MeasurementUnit { $this->unit = $unit; return $this; } /** * @return bool */ public function isInteger(): bool { return $this->isInteger; } /** * @param bool $isInteger * @return MeasurementUnit */ public function setIsInteger(bool $isInteger): MeasurementUnit { $this->isInteger = $isInteger; return $this; } /** * @return bool */ public function isUsesSIPrefixes(): bool { return $this->usesSIPrefixes; } /** * @param bool $usesSIPrefixes * @return MeasurementUnit */ public function setUsesSIPrefixes(bool $usesSIPrefixes): MeasurementUnit { $this->usesSIPrefixes = $usesSIPrefixes; return $this; } }