users = new ArrayCollection(); $this->done = false; } 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 getCrudAction(): ?string { return $this->crudAction; } public function setCrudAction(?string $crudAction): self { $this->crudAction = $crudAction; return $this; } public function getCrudControllerFqcn(): ?string { return $this->crudControllerFqcn; } public function setCrudControllerFqcn(?string $crudControllerFqcn): self { $this->crudControllerFqcn = $crudControllerFqcn; return $this; } public function getEntityId(): ?int { return $this->entityId; } public function setEntityId(?int $entityId): self { $this->entityId = $entityId; return $this; } /** * @return Collection|UserInterface[] */ public function getUsers(): Collection { return $this->users; } public function addUser(UserInterface $user): self { if (!$this->users->contains($user)) { $this->users[] = $user; } return $this; } public function removeUser(UserInterface $user): self { if ($this->users->contains($user)) { $this->users->removeElement($user); } return $this; } public function getDateReminder(): ?\DateTimeInterface { return $this->dateReminder; } public function setDateReminder(?\DateTimeInterface $dateReminder): self { $this->dateReminder = $dateReminder; return $this; } public function getDone(): ?bool { return $this->done; } public function setDone(?bool $done): self { $this->done = $done; return $this; } }