mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-11-22 10:11:04 +01:00
Defined email as unique identifier
This commit is contained in:
parent
8217753e3b
commit
40e1624d9d
@ -14,6 +14,7 @@ final class User implements UserInterface
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* Unique identifier in database
|
||||
* @var string
|
||||
*/
|
||||
private $email;
|
||||
@ -52,9 +53,5 @@ final class User implements UserInterface
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
public function getId(): int
|
||||
{}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user