Log in
Interface

WriteFileInterface

Magento\MediaGalleryMetadataApi\Model\WriteFileInterface

What it does

This interface defines a contract for writing files to the filesystem in Magento 2's media gallery system.

Developers implement this interface to create file writers that persist FileInterface objects to disk, typically used when saving uploaded media files or updating existing media content with new metadata.

Public Methods

  • execute()