Constructeur

This commit is contained in:
unknown
2020-12-04 02:47:09 +01:00
parent 0426095cba
commit 09b02f768e
5 changed files with 44 additions and 0 deletions

View File

@@ -10,4 +10,12 @@ class Utilisateur
private string $mail;
private string $password;
function __contruct(int $id,string $nom,string $prenom,string $pseudo,string $mail,string $password){
$this->id = $id;
$this->nom = $nom;
$this->prenom = $prenom;
$this->pseudo = $pseudo;
$this->mail = $mail;
$this->password = $password;
}
}