WebServ/www/public/M2/09/User.php
2024-08-30 15:43:26 +02:00

29 lines
537 B
PHP

<?php
class User
{
private $username;
private $password;
public function __construct($username, $password)
{
$this->username = $username;
$this->password = $password;
}
public function getUsername() {
return $this->username;
}
public function getPassword() {
return $this->password;
}
public function saetUsername($username) {
$this->username = $username;
}
public function setPassword($password) {
$this->password = $password;
}
}