normalize_uploaded_files.php
Table of Contents
Functions
- normalizeUploadedFiles() : array<string|int, UploadedFileInterface>
- Normalize uploaded files
Functions
normalizeUploadedFiles()
Normalize uploaded files
normalizeUploadedFiles(array<string|int, mixed> $files) : array<string|int, UploadedFileInterface>
Transforms each value into an UploadedFile instance, and ensures that nested arrays are normalized.
Parameters
- $files : array<string|int, mixed>