This commit is contained in:
2022-10-05 15:30:55 +02:00
parent d95472ca9d
commit 642b1e43c8
22 changed files with 79 additions and 59 deletions

View File

@@ -409,16 +409,16 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
return $this->status;
}
public function getUrgent(): ?bool
{
return $this->urgent;
}
public function getThirdParties(): Collection
{
return $this->getProfessionals();
}
public function getUrgent(): ?bool
{
return $this->urgent;
}
/**
* @return Collection|User[]
* @Serializer\Groups({"calendar:read", "read"})
@@ -599,13 +599,6 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
return $this;
}
public function setUrgent(bool $urgent): self
{
$this->urgent = $urgent;
return $this;
}
public function setStartDate(DateTimeImmutable $startDate): self
{
$this->startDate = $startDate;
@@ -623,4 +616,11 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
return $this;
}
public function setUrgent(bool $urgent): self
{
$this->urgent = $urgent;
return $this;
}
}