Log in
Model

FileInfo

Magento\MediaGallerySynchronization\Model\Filesystem\FileInfo

What it does

This is a Data Transfer Object (DTO) that encapsulates file metadata information for media gallery synchronization.

Developers use this class to pass structured file information (path, name, size, timestamps) between different components during media gallery sync operations, avoiding the need to pass multiple individual parameters.

Public Methods

  • getPath()
  • getFilename()
  • getExtension()
  • getBasename()
  • getSize()
  • getMTime()
  • getCTime()