An exception for terminatinating execution or to throw for unit testing.
Value object representing a file uploaded through an HTTP request.
getError()
Retrieve the error associated with the uploaded file.
getStream()
Retrieve a stream representing the uploaded file.
getClientMediaType()
Retrieve the media type sent by the client.
getSize()
Retrieve the file size.
moveTo($targetPath)
Move the uploaded file to a new location.
getClientFilename()
Retrieve the filename sent by the client.