Log in
Helper

Media

Magento\MediaStorage\Helper\File\Media

What it does

This helper class collects information about media files in Magento's media storage directory.

Developers use it when they need to read file metadata including filename, content, last update time, and directory path for files stored in the media directory.

It's commonly used in file synchronization operations between different storage backends.

Public Methods

  • collectFileInfo()