connexion = StaticRepo::getConnexion(); } public function getById($id){ $req = $this->connexion->prepare('SELECT * FROM Medecin WHERE Id = :id'); $req->execute(['id' => $id]); return $req->fetchAll(); } public function add($civilite,$prenom,$nom){ } public function delete($idPatient){ } public function search($nom,$prenom){ } public function getPatients($idMedecin){ } }