Log in
Model

Config

Magento\MediaStorage\Model\File\Storage\Config

What it does

This class manages configuration settings for Magento's media storage system, specifically handling the media directory path and allowed resources list.

Developers use it to retrieve media storage configuration and cache these settings to a file for improved performance during media file operations.

Public Methods

  • getMediaDirectory()
  • getAllowedResources()
  • save()