mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
add sensitive filter settings #17
This commit is contained in:
parent
6effb4cad2
commit
b1679f3f65
7 changed files with 88 additions and 8 deletions
|
|
@ -38,6 +38,9 @@ class User
|
|||
#[ORM\Column(length: 255)]
|
||||
private ?string $theme = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?bool $sensitive = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
|
@ -145,4 +148,16 @@ class User
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isSensitive(): ?bool
|
||||
{
|
||||
return $this->sensitive;
|
||||
}
|
||||
|
||||
public function setSensitive(bool $sensitive): static
|
||||
{
|
||||
$this->sensitive = $sensitive;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue