public function manage(<b>FormInterface $form</b>, Proposition $proposition, Candidate $candidate): bool
{
<b> if ($file = $form->get('file_cv')->getData()) {
</b> $newFileName = $this->uploader->upload($file);
if (!$newFileName) {
return false;
}
$candidate->setFileCv($newFileName);
}
$this->saveCandidate($candidate, $proposition);
return true;
}