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

create() public method

Allows you to upload a new product image.
public create ( string $product, array $data, string $storeView = null, string $identifierType = null ) : Smalot\Magento\ActionInterface
$product string
$data array
$storeView string
$identifierType string
return Smalot\Magento\ActionInterface
    public function create($product, $data, $storeView = null, $identifierType = null)
    {
        return $this->__createAction('catalog_product_attribute_media.create', func_get_args());
    }