term = $term; $this->rootClass = $rootClass; $this->parentClass = $parentClass; $this->startRow = $startRow; $this->rows = $rows; $this->page = $page; } public function getTerm(): string { return $this->term; } public function isEmptySearch(): bool { return empty($this->term); } public function getRootClass(): string { return $this->rootClass; } public function getParentClass(): string { return $this->parentClass; } public function getStartRow(): int { return $this->startRow; } public function getRows(): ?int { return $this->rows; } public function getPage(): ?int { return $this->page; } }