Model
GetAssetsIterator
Magento\MediaGallerySynchronization\Model\GetAssetsIterator
What it does
This class provides a recursive iterator for traversing media storage directories and their files.
Developers use this during media gallery synchronization to scan and process all media assets in a given directory path, including subdirectories.
It's commonly used when syncing the filesystem with the media gallery database to detect new, modified, or deleted assets.
Public Methods
- execute()