implement theme settings #17

This commit is contained in:
ghost 2023-10-09 16:33:07 +03:00
parent 0ab282e1c4
commit 5a940541ee
8 changed files with 55 additions and 3 deletions

View file

@ -35,6 +35,9 @@ class User
#[ORM\Column(type: Types::ARRAY)]
private array $locales = [];
#[ORM\Column(length: 255)]
private ?string $theme = null;
public function getId(): ?int
{
return $this->id;
@ -130,4 +133,16 @@ class User
return $this;
}
public function getTheme(): ?string
{
return $this->theme;
}
public function setTheme(string $theme): static
{
$this->theme = $theme;
return $this;
}
}