Interface
DeleteByPathInterface
Magento\MediaGalleryApi\Model\Asset\Command\DeleteByPathInterface
What it does
This interface defines a contract for deleting media gallery assets by their file path.
Developers would implement this interface to create services that remove image or media files from Magento's media gallery based on the file's path.
Note that this interface is deprecated and developers should use DeleteAssetsByPathsInterface instead for new implementations.
Public Methods
- execute()