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/metier/Joueur.php

24 lines
373 B

<?php
namespace model;
abstract class Joueur{
private int $id;
private string $pseudo;
public function __construct(int $id, string $pseudo){
$this->id=$id;
$this->pseudo=$pseudo;
}
public function getId(): int
{
return $this->id;
}
public function getPseudo(): String
{
return $this->pseudo;
}
}