Modification chemin

This commit is contained in:
unknown
2020-12-04 03:19:36 +01:00
parent d9c456992b
commit dbe009f11f
10 changed files with 23 additions and 5 deletions

View File

@@ -0,0 +1,39 @@
<?php
class Utilisateur
{
private int $id;
private string $nom;
private string $prenom;
private string $pseudo;
private string $mail;
private string $password;
function __construct(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;
}
/**
* @return string
*/
public function getNom(): string
{
return $this->nom;
}
/**
* @param string $nom
*/
public function setNom(string $nom): void
{
$this->nom = $nom;
}
}