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/Utilisateur.php

25 lines
533 B

<?php
namespace model;
class Utilisateur extends Joueur{
private string $email;
private string $motDePasse; #hash du mot de passe
public function __construct(int $id, string $pseudo, string $email, string $motDePasse)
{
parent::__construct($id,$pseudo);
$this->email = $email;
$this->motDePasse = $motDePasse;
}
public function getEmail(): string
{
return $this->email;
}
public function getMotDePasse(): string
{
return $this->motDePasse;
}
}