Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PartKeepr
PartBundle
Entity
PartParameter
setUnit
PartKeepr\PartBundle\Entity\PartParameter::setUnit PHP Method
PartParameter Class Documentation
Show file
Open project: partkeepr/PartKeepr
setUnit()
public
method
Sets the unit.
public
setUnit
(
Unit
$unit
= null )
$unit
PartKeepr\UnitBundle\Entity\Unit
The unit to set
public function setUnit(Unit $unit = null) { $this->unit = $unit; }
PartParameter
getDescription
getId
getName
getPart
getSiPrefix
getUnit
getValue
recalculateRawValue
setDescription
setName
setPart
setSiPrefix
setUnit
setValue