id = Uuid::v4()->toRfc4122(); } public function getId(): string { return $this->id; } public function getTitle(): string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getStart(): \DateTimeImmutable { return $this->from; } public function setStart(\DateTimeImmutable $start): self { $this->from = $start; return $this; } public function getFrom(): \DateTimeImmutable { return $this->from; } public function setFrom(\DateTimeImmutable $from): self { $this->from = $from; return $this; } public function getEnd(): \DateTimeImmutable { return $this->to; } public function setEnd(\DateTimeImmutable $end): self { $this->to = $end; return $this; } public function getTo(): \DateTimeImmutable { return $this->to; } public function setTo(\DateTimeImmutable $to): self { $this->to = $to; return $this; } public function isAllDay(): bool { return $this->allDay; } public function setAllDay(bool $allDay): self { $this->allDay = $allDay; return $this; } }