/**
  * Méthode permettant d'enregistrer un profil
  * @param $profilePro Le profil à enregistrer
  * @return void
  */
 public function save(ProfilePro $profilePro)
 {
     if ($profilePro->isValid()) {
         $profilePro->isNew() ? $this->add($profilePro) : $this->modify($profilePro);
     } else {
         throw new RuntimeException('Le profil doit être valide pour être enregistré');
     }
 }