category_name = $category_name; $this->rank = $rank; } public function getId(): ?int { return $this->id; } public function setId(int $id): DocumentCategory { $this->id = $id; return $this; } public function getCategory_Name(): string { return $this->category_name; } public function setCategory_Name(string $category_name): DocumentCategory { $this->category_name = $category_name; return $this; } public function getRank(): ?int { return $this->rank; } public function setRank(int $rank): DocumentCategory { $this->rank = $rank; return $this; } /** * @return Collection */ public function getDocuments(): Collection { return $this->documents; } }