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.
26 lines
376 B
26 lines
376 B
<?php
|
|
|
|
class Admin
|
|
{
|
|
private string $username;
|
|
private string $role;
|
|
|
|
public function __construct(string $username, string $role)
|
|
{
|
|
$this->username = $username;
|
|
$this->role = $role;
|
|
}
|
|
|
|
public function getUsername()
|
|
{
|
|
return $this->username;
|
|
}
|
|
|
|
public function getRole()
|
|
{
|
|
return $this->role;
|
|
}
|
|
}
|
|
|
|
?>
|