Use uniqid for wishes and users
This commit is contained in:
parent
ee063cd439
commit
946b30b486
10 changed files with 77 additions and 9 deletions
|
@ -65,6 +65,11 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
|||
*/
|
||||
private $zipCode;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=13)
|
||||
*/
|
||||
private $urlId;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->offerings = new ArrayCollection();
|
||||
|
@ -255,4 +260,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUrlId(): ?string
|
||||
{
|
||||
return $this->urlId;
|
||||
}
|
||||
|
||||
public function setUrlId(string $urlId): self
|
||||
{
|
||||
$this->urlId = $urlId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue