Model
File
Magento\MediaGalleryMetadata\Model\File
What it does
This class serves as a data transfer object (DTO) representing a media file with its metadata segments in Magento's Media Gallery system.
Developers use this class to pass file information including the file path, parsed metadata segments (like EXIF, IPTC data), and extension attributes between different components when reading or writing media file metadata.
Public Methods
- getSegments()
- getPath()
- getExtensionAttributes()
- setExtensionAttributes()