Log in
Interface

CreateAssetFromFileInterface

Magento\MediaGallerySynchronizationApi\Model\CreateAssetFromFileInterface

What it does

This interface defines a contract for creating media asset objects from physical media files in Magento's media gallery.

Developers use implementations of this interface when they need to convert a file path into a structured AssetInterface object that can be stored and managed in the media gallery system, typically during media synchronization operations.

Public Methods

  • execute()