FetchMediaStorageFileBatches
Magento\MediaGallerySynchronization\Model\FetchMediaStorageFileBatches
What it does
This class retrieves media files from Magento's media storage directory in configurable batches for synchronization purposes.
Developers use this when implementing media gallery synchronization features that need to process large numbers of media files efficiently without loading everything into memory at once.
It filters files by allowed extensions and excludes specific paths based on configuration.
Public Methods
- execute()