src/Entity/RecipeProduct.php
public function setAmountMin(float $amountMin): self
    {
        $this->amountMin = (int) ($amountMin * self::FACTOR_AMOUNT_MIN);
        return $this;
    }
public function setAmountMin(float $amountMin): self
    {
        $this->amountMin = (int) ($amountMin * self::FACTOR_AMOUNT_MIN);
        return $this;
    }
public function setAmountMin ( float $ amountMin ) : self { $ this -> amountMin = ( int ) ( $ amountMin * self :: FACTOR_AMOUNT_MIN ) ; return $ this ; }
Sets the minimal amount of the product in the recipe.
@param float $amountMin
@return $this Implementing fluent interface.
Sets the minimal amount of the product in the recipe .