public static function instantiate(ProductNumberContract $productNumber, ProductTypeContract $productType, $description)
    {
        return new static([
            'product_number' => $productNumber,
            'product_type_id' => $productType->id,
            'description' => $description,
        ]);
    }
public static function instantiate(ProductNumberContract $productNumber, ProductTypeContract $productType, $description)
    {
        return new static([
            'product_number' => $productNumber,
            'product_type_id' => $productType->id,
            'description' => $description,
        ]);
    }
public static function instantiate ( ProductNumberContract $ productNumber , ProductTypeContract $ productType , $ description ) { return new static ( [ 'product_number' => $ productNumber , 'product_type_id' => $ productType -> id , 'description' => $ description , ] ) ; }
Instantiate a new product.

@param ProductNumberContract $productNumber
@param ProductTypeContract $productType
@param string $description
@return ProductContract
Instantiate a new product .