diff --git a/src/entity/user/User.php b/src/entity/user/User.php index 257344a..8e0e7bd 100644 --- a/src/entity/user/User.php +++ b/src/entity/user/User.php @@ -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 {}