Ajout des squelettes des méthodes manquantes (en comparaison avec le diag de classes)

php
Alix JEUDI--LEMOINE 1 year ago
parent 2ce216aea3
commit a9054e8645

@ -61,4 +61,8 @@ class InviteGateway extends JoueurGateway
return $id;
}
}
public function supprimerInvite(int $id) : bool {
}
}

@ -12,6 +12,10 @@ class ScientifiqueGateway
$this->con = $con;
}
public function getFromId(int $id) : array {
}
// public function getRandom(): array|bool{ <- autorisé seulement en PHP 8
// $this->con->executeQuery(
// "SELECT id, nom, prenom, photo, dateNaissance, descriptif, ratiotrouvee, idthematique, iddifficulte, index FROM Scientifique ORDER BY RANDOM() LIMIT 1;");
@ -29,6 +33,10 @@ class ScientifiqueGateway
return $this->con->getOneResult();
}
public function getRandomFromDifficulte(Difficulte $difficulte) : array {
}
/**
* @throws Exception
*/

@ -22,4 +22,8 @@ class SexeGateway
$this->con->executeQuery("SELECT id, libelle FROM Sexe;");
return $this->con->getResults();
}
public function getFromScientifique(int $idScientifique) : array {
}
}

@ -21,4 +21,8 @@ class ThematiqueGateway
$this->con->executeQuery("SELECT id, libelle FROM Thematique;");
return $this->con->getResults();
}
public function getFromScientifique(int $idScientifique) : array {
}
}
Loading…
Cancel
Save