Write
Magento\RemoteStorage\Model\Filesystem\Directory\Write
What it does
This class extends Magento's standard filesystem write functionality to support remote storage systems (like AWS S3 or Azure).
When a developer deletes a file, this class ensures the file is removed from both the remote storage location and the local filesystem cache, maintaining consistency across storage layers.
It's automatically used when remote storage is configured in Magento 2.
Public Methods
- delete()