| 
					
	public
					
					
				 | createUploadedFile(
	StreamInterface $stream,
	int|null $size = null,
	int $error = UPLOAD_ERR_OK,
	string|null $clientFilename = null,
	string|null $clientMediaType = null,
): UploadedFileInterface
		Create a new uploaded file.
	 
	Create a new uploaded file. If a size is not provided it will be determined by checking the size of
the file.Parameters
									
										| $stream | Underlying stream representing the
uploaded file content. |  
										| $size | in bytes |  
										| $error | PHP file upload error |  
										| $clientFilename | Filename as provided by the client, if any. |  
										| $clientMediaType | Media type as provided by the client, if any. |  ThrowsImplemented by | # |