Log in
Interface

GetByPathInterface

Magento\MediaGalleryApi\Model\Asset\Command\GetByPathInterface

What it does

This interface defines a command to retrieve a media gallery asset by its file path.

Developers would use this to fetch detailed information about a specific media file stored in the Magento media gallery.

Note: This interface is deprecated and developers should use GetAssetsByPathsInterface instead for retrieving media assets by path.

Public Methods

  • execute()