options = new ArrayCollection(); } /** * @return int|null */ public function getId(): ?int { return $this->id; } /** * @return bool|null */ public function getPage(): ?bool { return $this->page; } /** * @param bool|null $workflow_on_page * * @return self */ public function setPage(?bool $page): self { $this->page = $page; return $this; } /** * @return Collection|WorkflowProjectOptions[] */ public function getOptions(): Collection { return $this->options; } /** * @param WorkflowProjectOptions $option * * @return self */ public function addOption(WorkflowProjectOptions $option): self { if (!$this->options->contains($option)) { $this->options[] = $option; $option->setWorkflowProject($this); } return $this; } /** * @param WorkflowProjectOptions $option * * @return self */ public function removeOption(WorkflowProjectOptions $option): self { if ($this->options->contains($option)) { $this->options->removeElement($option); // set the owning side to null (unless already changed) if ($option->getWorkflowProject() === $this) { $option->setWorkflowProject(null); } } return $this; } /** * @return Exports|null */ public function getExport(): ?Exports { return $this->export; } /** * @param Exports|null $export * * @return self */ public function setExport(?Exports $export): self { $this->export = $export; return $this; } /** * @return int|null */ public function getWorkflow(): ?int { return $this->workflow; } /** * @param int|null $workflow * * @return self */ public function setWorkflow(?int $workflow): self { $this->workflow = $workflow; return $this; } /** * @return bool|null */ public function getDeleted(): ?bool { return $this->deleted; } /** * @param bool|null $deleted * * @return self */ public function SetDeleted(?bool $deleted): self { $this->deleted = $deleted; return $this; } }