mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-12-22 23:25:03 +01:00
Implemented user
This commit is contained in:
parent
233d8b3c0e
commit
8217753e3b
@ -8,23 +8,50 @@ namespace entity\user;
|
||||
*/
|
||||
final class User implements UserInterface
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $email;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $passwordHash;
|
||||
|
||||
public function setName(string $name): void
|
||||
{}
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
{}
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function setEmail(string $email): void
|
||||
{}
|
||||
{
|
||||
$this->email = $email;
|
||||
}
|
||||
|
||||
public function getPasswordHash(): string
|
||||
{}
|
||||
{
|
||||
return $this->passwordHash;
|
||||
}
|
||||
|
||||
public function setPasswordHash(string $hash): void
|
||||
{}
|
||||
{
|
||||
$this->passwordHash = $hash;
|
||||
}
|
||||
|
||||
public function getEmail(): string
|
||||
{}
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
public function getId(): int
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user