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

remove() public method

Allows you to remove the image from a product.
public remove ( string $productId, string $file, string $identifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$file string
$identifierType string
return Smalot\Magento\ActionInterface
    public function remove($productId, $file, $identifierType = null)
    {
        return $this->__createAction('catalog_product_attribute_media.remove', func_get_args());
    }