Log in
Interface

SynchronizeFilesInterface

Magento\MediaGallerySynchronizationApi\Api\SynchronizeFilesInterface

What it does

This interface defines a contract for synchronizing media files from the filesystem into Magento's media gallery database.

Developers would use implementations of this interface when they need to scan specific file paths and create or update corresponding media asset records in the database, such as after bulk file uploads or during media gallery maintenance operations.

Public Methods

  • execute()