src/Entity/PackageWeight.php
public function setUnitOfMeasurement(UnitOfMeasurement $unitOfMeasurement)
    {
        $this->UnitOfMeasurement = $unitOfMeasurement;
        $this->unitOfMeasurement = $unitOfMeasurement;

        return $this;
    }
public function setUnitOfMeasurement(UnitOfMeasurement $unitOfMeasurement)
    {
        $this->UnitOfMeasurement = $unitOfMeasurement;
        $this->unitOfMeasurement = $unitOfMeasurement;

        return $this;
    }
public function setUnitOfMeasurement ( UnitOfMeasurement $ unitOfMeasurement ) { $ this -> UnitOfMeasurement = $ unitOfMeasurement ; $ this -> unitOfMeasurement = $ unitOfMeasurement ; return $ this ; }
@param UnitOfMeasurement $unitOfMeasurement

@return $this
@param UnitOfMeasurement $unitOfMeasurement