term; } public function setTerm(string $term): void { $this->term = $term; } public function getCategory(): ?Category { return $this->category; } public function setCategory(?Category $category): void { $this->category = $category; } public function getType(): ?Type { return $this->type; } public function setType(?Type $type): void { $this->type = $type; } public function getUrl(): ?Url { return $this->url; } public function setUrl(?Url $url): void { $this->url = $url; } }