Model
DeleteByPath
Magento\MediaGallery\Model\Asset\Command\DeleteByPath
What it does
This class handles deletion of media gallery assets from the database by their file path.
Developers would use this when they need to remove media gallery records (like images or videos) from the media_gallery_asset table using the asset's path as the identifier.
Note that this class is deprecated and should be replaced with DeleteAssetsByPathInterface.
Public Methods
- execute()