categoriesPid = $categoriesPid; // Do not allow features on pid 0 if ($featuresPid === 0) { $featuresPid = null; } $this->featuresPid = $featuresPid; } public function getStoragePid(): int { return $this->storagePid; } public function getFilesFolder(): Folder { return $this->filesFolder; } public function getCategoriesPid(): ?int { return $this->categoriesPid; } public function getCategoryParent(): ?Category { return $this->categoryParent; } public function getFeaturesPid(): ?int { return $this->featuresPid; } public function getFeaturesParent(): ?Category { return $this->featuresParent; } public function getRegion(): ?Region { return $this->region; } public function getFeatures(): Features { return new Features($this->importFeatures); } public function getRepeatUntil(): string { return $this->importRepeatUntil; } public function getRestLicenseKey(): string { return $this->restLicenseKey; } public function getRestExperience(): string { return $this->restExperience; } public function getRestMode(): string { return $this->restMode; } public function getRestLimit(): int { return (int)$this->restLimit; } public function getRestSearchQuery(): string { return $this->restSearchQuery; } }