Model
FileUploader
Magento\Customer\Model\FileUploader
What it does
This class handles file uploads for customer and address attributes in Magento 2.
Developers use it to validate and process file uploads for custom customer or address attributes with file or image input types.
It manages the temporary file storage, validates against allowed extensions, and generates accessible URLs for uploaded files.
Public Methods
- validate()
- upload()
- uploadFile()