Implemented user

This commit is contained in:
Kevin Frantz 2018-07-14 10:58:29 +02:00
parent 233d8b3c0e
commit 8217753e3b

View File

@ -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
{}