UploadedFileFactoryInterface

Methods Summary
public
# createUploadedFile( Psr\Http\Message\StreamInterface $stream , int $size = NULL, int $error = NULL, string $clientFilename = NULL, string $clientMediaType = NULL )
Create a new uploaded file. If a size is not provided it will be determined by checking the size of the file.

see

see