ConfigInterface
Magento\Catalog\Model\Product\Media\ConfigInterface
What it does
This interface defines the contract for managing product media file locations in Magento 2's catalog system.
Developers use implementations of this interface to retrieve base URLs and paths for product images, as well as generate full URLs and file system paths for specific media files.
It's essential when working with product images, galleries, or custom media handling in the catalog module.
Public Methods
- getBaseMediaUrl()
- getBaseMediaPath()
- getMediaUrl()
- getMediaPath()