'ASC', 'rowsprint' => 'DESC', 'rowversion' => 'DESC', 'rowissue' => 'ASC', 'id' => 'DESC', ])] private Collection $childs; public function __construct() { $this->childs = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function setId(int $id): static { $this->id = $id; return $this; } public function getRedmine(): array { return $this->redmine; } public function setRedmine(array $redmine): static { $this->redmine = $redmine; return $this; } public function getRowstatus(): int { return $this->rowstatus; } public function setRowstatus(int $rowstatus): static { $this->rowstatus = $rowstatus; return $this; } public function getRowversion(): string { return $this->rowversion; } public function setRowversion(string $rowversion): static { $this->rowversion = $rowversion; return $this; } public function getRowsprint(): string { return $this->rowsprint; } public function setRowsprint(string $rowsprint): static { $this->rowsprint = $rowsprint; return $this; } public function getRowissue(): int { return $this->rowissue; } public function setRowissue(int $rowissue): static { $this->rowissue = $rowissue; return $this; } public function getColor(): ?string { if ($this->color) { return $this->color; } elseif ($this->parent) { return $this->parent->getColor(); } else { return null; } } public function setColor(?string $color): static { $this->color = $color; return $this; } public function isClosed(): bool { return $this->isClosed(); } public function setIsClosed(bool $isClosed): static { $this->isClosed = $isClosed; return $this; } public function getProject(): Project { return $this->project; } public function setProject(Project $project): self { $this->project = $project; return $this; } public function getParent(): ?Issue { return $this->parent; } public function setParent(?Issue $issue): self { $this->parent = $issue; return $this; } /** * @return Collection */ public function getChilds(): Collection { return $this->childs; } }