You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ScienceQuest/project/src/model/gateways/PartieGateway.php

31 lines
475 B

<?php
namespace model;
class PartieGateway
{
public function __construct(Connection $con)
{
}
public function getFromId(int $id) : Partie {
}
public function getFromCodeInvitation(string $code) : Partie {
}
public function creerPartie(Jeu $jeu, Joueur $joueur) : Partie {
}
public function rejoindrePartie(string $codeInvitation, Joueur $joueur) : bool {
}
public function supprimerPartie(int $id) : bool {
}
}