2022-05-03 08:54:45 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Entity;
|
|
|
|
|
|
|
|
use App\Validator as AcmeAssert;
|
|
|
|
|
2022-05-03 15:09:42 +02:00
|
|
|
class User
|
2022-05-03 08:54:45 +02:00
|
|
|
{
|
2022-05-03 15:09:42 +02:00
|
|
|
private string $email;
|
2022-05-03 08:54:45 +02:00
|
|
|
|
2022-05-03 15:09:42 +02:00
|
|
|
private string $password;
|
|
|
|
private string $rememberMe;
|
2022-05-03 08:54:45 +02:00
|
|
|
|
|
|
|
public function getEmail(): ?string
|
|
|
|
{
|
|
|
|
return $this->email;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setEmail(string $email): self
|
|
|
|
{
|
|
|
|
$this->email = $email;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPassword(): string
|
|
|
|
{
|
|
|
|
return $this->password;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setPassword(string $password): self
|
|
|
|
{
|
|
|
|
$this->password = $password;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getRememberMe(): string
|
|
|
|
{
|
|
|
|
return $this->rememberMe;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setRememberMe(bool $rememberMe): self
|
|
|
|
{
|
|
|
|
$this->rememberMe = $rememberMe;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
}
|