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.
BOB_PARTY/api-rest/model/match.php

22 lines
470 B

<?php
// appelé "Matchs" car match sans s ne marche pas
class Matchs{
// Object attributes
public string $id;
public bool $inGame;
public string $idGame;
public $listIdUsers;
public function __construct(string $_id,bool $_inGame, string $_idGame, $_listIdUsers){
$this->id=$_id;
$this->inGame=$_inGame;
$this->idGame=$_idGame;
// Only one user at creation
$this->listIdUsers=$_listIdUsers;
}
}
?>