Log in
Model

Save

Magento\MediaGallery\Model\Asset\Command\Save

What it does

This class saves media asset information to the Magento database.

Developers would use it to persist details about uploaded media files like images, including their path, dimensions, file size, and metadata.

Note that this class is deprecated and developers should use SaveAssetsInterface instead for saving media gallery assets.

Public Methods

  • execute()