Symfony\Component\HttpFoundation\File\UploadedFile::isValid
Returns whether the file was uploaded successfully.
Signature
public function isValid()
Returns
- Boolean
- True if the file has been uploaded with HTTP and no error occurred.