SaveInterface
Magento\MediaGalleryApi\Model\Asset\Command\SaveInterface
What it does
This interface defines a command for saving media gallery assets in Magento 2's media gallery system.
Developers would implement this interface to persist media asset data and receive the saved asset's ID, though it's deprecated in favor of SaveAssetsInterface which supports batch operations.
Use this when you need to save a single media asset to the gallery programmatically.
Public Methods
- execute()