*/ #[Extbase\ORM\Lazy] protected ObjectStorage $posts; public function __construct() { $this->initializeObject(); } public function initializeObject(): void { $this->posts = new ObjectStorage(); } /** * @return ObjectStorage */ public function getPosts(): ObjectStorage { return $this->posts; } /** * @param ObjectStorage $posts */ public function setPosts(ObjectStorage $posts): void { $this->posts = $posts; } public function getRecordType(): int { return $this->recordType; } public function getTitle(): string { return $this->title; } public function setTitle(string $title): void { $this->title = $title; } public function getDescription(): string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getParent(): ?self { return $this->parent; } public function setParent(self $parent): void { $this->parent = $parent; } }