diff --git a/lib/neues_category.php b/lib/neues_category.php index f2d7a4d..3c5a2a3 100644 --- a/lib/neues_category.php +++ b/lib/neues_category.php @@ -7,10 +7,20 @@ public function getName(): string { return $this->getValue('name'); } + public function setName(string $string) :self + { + $this->setValue('name', $string); + return $this; + } /** @api */ public function getEntries(): ?rex_yform_manager_collection { return $this->getRelatedDataset('entry_ids'); } + public function setEntries(rex_yform_manager_collection $entries): self + { + $this->setValue('entry_ids', $entries); + return $this; + } }