FileRecorder
Magento\Analytics\Model\FileRecorder
What it does
This class manages the storage and registration of encrypted analytics data files for Magento Business Intelligence (MBI).
Developers would use this when implementing or customizing the analytics export functionality, as it handles writing encrypted data files to the media directory, maintaining file metadata, and cleaning up old files.
It ensures only one analytics file exists at a time by removing the previous file when a new one is recorded.
Public Methods
- recordNewFile()