remotes/origin/master
Leni BEAULATON 7 months ago
parent da8d388748
commit 4f52d41603

@ -1,18 +1,18 @@
<?php
class User{
public string $id;
public string $username;
public string $passwd;
public string $img;
public string $email;
function __construct(string $identify, string $password, string $image, string $mail) {
function __construct(string $identify, string $pseudo, string $password, string $image, string $mail) {
$this->id = $identify;
$this->username = $pseudo;
$this->passwd = $password;
$this->img = $image;
$this->email = $mail;
}
}
function __checkLogin(){
/*Envoie donnée à la bdd*/
}
?>
Loading…
Cancel
Save