Log in
Model

Synchronization

Magento\MediaStorage\Model\File\Storage\Synchronization

What it does

This class synchronizes media files from database storage to the local filesystem.

Developers use this when Magento is configured to store media files in the database, and the system needs to retrieve and write those files to the file system for serving or processing.

It's typically invoked automatically when a file is requested but doesn't exist locally.

Public Methods

  • synchronize()