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.
30 lines
587 B
30 lines
587 B
<?php
|
|
|
|
Class Utilisateur {
|
|
private int $id;
|
|
private string $nom;
|
|
private string $password;
|
|
private $listListe;
|
|
|
|
function __construct(int $i, string $n, string $p, $liste) {
|
|
$this->id=$i;
|
|
$this->nom=$n;
|
|
$this->password=$p;
|
|
$this->listListe=$liste;
|
|
}
|
|
function get_id(): int {
|
|
return $this->id;
|
|
}
|
|
function get_nom(): string {
|
|
return $this->nom;
|
|
}
|
|
function get_password(): string {
|
|
return $this->password;
|
|
}
|
|
function get_listListe(){
|
|
return $this->get_listListe;
|
|
}
|
|
}
|
|
|
|
|
|
?>
|