Log in

MediaStorage Module

ConsumerImageResize

Model

This class processes asynchronous image resize operations in Magento 2's queue system. It consumes messages from the queue, extracts the image filenam...

File\Storage

Model

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\Config

Model

This class manages configuration settings for Magento's media storage system, specifically handling the media directory path and allowed resources lis...

File\Storage\Database

Model

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\File

Model

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

Model

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

Model

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

Model

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

Model

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

Model

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

Model

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

Model

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

Model

This validator class checks if a file extension is on Magento's protected extensions list (configured in system settings) to prevent uploading potenti...