add element rich text

This commit is contained in:
Yisroel Baum 2026-05-27 20:02:31 +03:00
parent 827abde41b
commit 457dbbb7de
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
12 changed files with 63 additions and 5 deletions

View file

@ -10,6 +10,7 @@ class Element
private int $id,
private string $title,
private string $description,
private string $richText,
private Set $set,
private ?Element $parentElement,
) {
@ -30,6 +31,11 @@ class Element
return $this->description;
}
public function getRichText(): string
{
return $this->richText;
}
public function getSet(): Set
{
return $this->set;