id = $id; $this->profil = $profil; $this->nom = $nom; $this->ville = $ville; $this->dateDebut = $dateDebut; $this->dateFin = $dateFin; $this->formationActuelle = $formationActuelle; } public function getId(): int { return $this->id; } /* public function getProfil(): Profil { return $this->profil; } */ public function getProfilId(): int { return $this->profil->getId(); } public function getNom(): string { return $this->nom; } public function getVille(): string { return $this->ville; } public function getDateDebut(): string { return $this->dateDebut; } public function getDateFin(): string { return $this->dateFin; } public function isFormationActuelle(): ?bool { return $this->formationActuelle ?? null; } }