return $files;
} /**
* Creates a PSR-7 UploadedFile instance from a Symfony one.
*
* @return UploadedFileInterface
*/
private function createUploadedFile(UploadedFile
$symfonyUploadedFile) { return $this->uploadedFileFactory->
createUploadedFile( $this->streamFactory->
createStreamFromFile( $symfonyUploadedFile->
getRealPath() ),
(int) $symfonyUploadedFile->
getSize(),
$symfonyUploadedFile->
getError(),
$symfonyUploadedFile->
getClientOriginalName(),
$symfonyUploadedFile->
getClientMimeType() );
} /**
* {@inheritdoc}
*/