Log in
Interface

FileInterface

Magento\MediaGalleryMetadataApi\Model\FileInterface

What it does

This interface defines a data transfer object for representing media files and their metadata in Magento's Media Gallery system.

Developers use this when working with media file information, including the file path, metadata segments (like EXIF, IPTC data), and extension attributes for custom data storage.

Public Methods

  • getPath()
  • getSegments()
  • getExtensionAttributes()
  • setExtensionAttributes()