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.
41 lines
625 B
41 lines
625 B
<?php
|
|
|
|
namespace metier;
|
|
|
|
class Admin
|
|
{
|
|
private string $username;
|
|
private string $mail;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUsername(): string
|
|
{
|
|
return $this->username;
|
|
}
|
|
|
|
/**
|
|
* @param string $username
|
|
*/
|
|
public function setUsername(string $username): void
|
|
{
|
|
$this->username = $username;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getMail(): string
|
|
{
|
|
return $this->mail;
|
|
}
|
|
|
|
/**
|
|
* @param string $mail
|
|
*/
|
|
public function setMail(string $mail): void
|
|
{
|
|
$this->mail = $mail;
|
|
}
|
|
} |