MediaStorage Module
ConsumerImageResize
This class processes asynchronous image resize operations in Magento 2's queue system. It consumes messages from the queue, extracts the image filenam...
File\Media
This helper class collects information about media files in Magento's media storage directory. Developers use it when they need to read file metadata...
File\Storage
This class manages media file storage synchronization in Magento 2, allowing media files to be stored either on the filesystem or in a database. Devel...
File\Storage
This helper class manages Magento 2's media file storage system, providing methods to determine the current storage backend (filesystem vs database) a...
File\Storage\Config
This class manages configuration settings for Magento's media storage system, specifically handling the media directory path and allowed resources lis...
File\Storage\Database
This class manages file storage in a database instead of the filesystem, providing methods to save, retrieve, copy, rename, and delete media files and...
File\Storage\Database
This helper class manages media file storage in a database instead of the filesystem. Developers use it to save, rename, copy, and delete media files...
File\Storage\File
This class manages file system storage operations for media files in Magento 2. Developers use it to synchronize media files between file system and d...
File\Storage\Flag
This class manages the synchronization status flag for media storage operations in Magento 2. Developers use it to track the state of file synchroniza...
File\Storage\Request
This class sanitizes and stores the requested file path from HTTP requests for media storage operations. Developers use it to safely retrieve file pat...
File\Storage\Response
This class handles HTTP responses for serving static media files from storage. Developers use it when they need to send files (like images or CSS) dir...
File\Storage\Synchronization
This class synchronizes media files from database storage to the local filesystem. Developers use this when Magento is configured to store media files...
File\Uploader
This class handles file uploads in Magento 2, extending the core file uploader with media storage capabilities. Developers use it to upload files to v...
File\Validator\AvailablePath
This validator class checks if file and directory paths are safe to use by validating them against configurable lists of protected and available path...
File\Validator\Image
This class validates that uploaded files are legitimate image files by checking their MIME type and attempting to open them using Magento's image proc...
File\Validator\NotProtectedExtension
This validator class checks if a file extension is on Magento's protected extensions list (configured in system settings) to prevent uploading potenti...
Model\File\Storage\SynchronizationFactory
This factory class creates instances of the Synchronization model used for synchronizing media files between different storage locations in Magento 2....