Smalot\Magento\Catalog\ProductDownloadableLink::add PHP Method

add() public method

Allows you to add a new link to a downloadable product.
public add ( string $productId, array $resource, string $resourceType, string $store = null, string $identifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$resource array
$resourceType string
$store string
$identifierType string
return Smalot\Magento\ActionInterface
    public function add($productId, $resource, $resourceType, $store = null, $identifierType = null)
    {
        return $this->__createAction('product_downloadable_link.add', func_get_args());
    }
ProductDownloadableLink