RemoveDeletedImagesFromCache
Magento\Catalog\Model\Product\Image\RemoveDeletedImagesFromCache
What it does
This class handles the removal of deleted product images from Magento's cache directories.
When product images are deleted from the catalog, this class cleans up all cached versions of those images across different image configurations (thumbnails, resized versions, etc.).
Developers would use this when implementing custom image cleanup logic or when needing to programmatically remove cached image files after deletion.
Public Methods
- removeDeletedImagesFromCache()