turbo #4
|
@ -64,6 +64,9 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
|||
#[ORM\Column]
|
||||
private ?DateTimeImmutable $agreedTermsAt = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $tmpAvatar = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->projects = new ArrayCollection();
|
||||
|
@ -315,4 +318,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
|||
{
|
||||
// TODO: Implement eraseCredentials() method.
|
||||
}
|
||||
|
||||
public function getTmpAvatar(): ?string
|
||||
{
|
||||
return $this->tmpAvatar;
|
||||
}
|
||||
|
||||
public function setTmpAvatar(?string $tmpAvatar): self
|
||||
{
|
||||
$this->tmpAvatar = $tmpAvatar;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue