Symfony\Component\HttpFoundation\File\UploadedFile::getError
Returns the upload error.
If the upload was successful, the constant UPLOAD_ERR_OK is returned. Otherwise one of the other UPLOAD_ERR_XXX constants is returned.
Signature
public function getError()
Returns
- integer
- The upload error