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.
Scripted/WEB/Model/Admin.php

67 lines
1.1 KiB

<?php
class Admin
{
private string $email;
private string $pseudo;
private string $mdp;
/**
* @param string $email
* @param string $pseudo
* @param string $mdp
*/
public function __construct(string $email, string $pseudo, string $mdp)
{
$this->email = $email;
$this->pseudo = $pseudo;
$this->mdp = $mdp;
}
/**
* @return string
*/
public function getEmail(): string
{
return $this->email;
}
/**
* @param string $email
*/
public function setEmail(string $email): void
{
$this->email = $email;
}
/**
* @return mixed
*/
public function getPseudo()
{
return $this->pseudo;
}
/**
* @param mixed $pseudo
*/
public function setPseudo($pseudo): void
{
$this->pseudo = $pseudo;
}
/**
* @return mixed
*/
public function getMdp()
{
return $this->mdp;
}
/**
* @param mixed $mdp
*/
public function setMdp($mdp): void
{
$this->mdp = $mdp;
}
}