SplFileInfoFactory
Magento\MediaGallerySynchronization\Model\Filesystem\SplFileInfoFactory
What it does
This factory class creates SplFileInfo objects from file paths in the Media Gallery Synchronization module.
Developers use this when they need to obtain file information objects during media synchronization operations, such as scanning directories or processing media files.
It provides a centralized way to instantiate SplFileInfo objects for dependency injection and testing purposes.
Public Methods
- create()