Namespace

Symfony\Component\HttpFoundation\File

File A file in the file system.
UploadedFile A file uploaded through a form.