Smalot\Magento\Catalog\Product::create PHP Method

create() public method

Allows you to create a new product and return ID of the created product.
public create ( string $type, string $set, string $sku, array $productData, string $storeView = null ) : Smalot\Magento\ActionInterface
$type string
$set string
$sku string
$productData array
$storeView string
return Smalot\Magento\ActionInterface
    public function create($type, $set, $sku, $productData, $storeView = null)
    {
        return $this->__createAction('catalog_product.create', func_get_args());
    }