parent
ccdef5cccc
commit
1321dda38e
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
class User{
|
||||
public string $id;
|
||||
public string $passwd;
|
||||
public string $img;
|
||||
public string $email;
|
||||
|
||||
function __construct(string $identify, string $password, string $image, string $mail) {
|
||||
$this->id = $identify;
|
||||
$this->passwd = $password;
|
||||
$this->img = $image;
|
||||
$this->email = $mail;
|
||||
}
|
||||
}
|
||||
function __checkLogin(){
|
||||
/*Envoie donnée à la bdd*/
|
||||
}
|
||||
?>
|
Loading…
Reference in new issue