} return $files;
} /**
* Creates Symfony UploadedFile instance from PSR-7 ones.
*/
private function createUploadedFile(UploadedFileInterface
$psrUploadedFile): UploadedFile
{ return new UploadedFile($psrUploadedFile,
function D
) { return $this->
getTemporaryPath();
});
} /**
* Gets a temporary file path.
*
* @return string
*/
protected function getTemporaryPath() { return tempnam(sys_get_temp_dir(),
uniqid('symfony', true
));
}