Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | WDYT? |
Symfony version | 4.0.6 |
I just created a simple UI for files and created a endpoint to upload files via ajax.
I'm fetching the files from the request($request->files
) and handle the files in this way:
/**
* @var UploadedFile|UploadedFile[] $uploadedFiles
*/
foreach ($request->files as $uploadedFile) {
if(\is_array($uploadedFile)){
foreach ($uploadedFile as $file) {
$upload($file);
}
}else if($uploadedFile instanceof UploadedFile){
$upload($uploadedFile);
}
}
I noticed then in the Symfony Profiler
that there are only listed the GET Parameters
and POST Parameters
.
Something like a file list
with some information would be awesome.