2024-08-26 12:17:08 +00:00
|
|
|
<?php
|
2024-08-30 13:43:26 +00:00
|
|
|
class User
|
|
|
|
{
|
2024-08-26 12:17:08 +00:00
|
|
|
private $username;
|
|
|
|
private $password;
|
|
|
|
|
2024-08-30 13:43:26 +00:00
|
|
|
public function __construct($username, $password)
|
|
|
|
{
|
2024-08-26 12:17:08 +00:00
|
|
|
$this->username = $username;
|
|
|
|
$this->password = $password;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUsername() {
|
|
|
|
return $this->username;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPassword() {
|
|
|
|
return $this->password;
|
|
|
|
}
|
|
|
|
|
2024-09-06 13:22:36 +00:00
|
|
|
public function setUsername($username) {
|
2024-08-30 13:43:26 +00:00
|
|
|
$this->username = $username;
|
|
|
|
}
|
|
|
|
|
2024-08-26 12:17:08 +00:00
|
|
|
public function setPassword($password) {
|
|
|
|
$this->password = $password;
|
|
|
|
}
|
2024-08-30 13:43:26 +00:00
|
|
|
}
|