add element rich text
This commit is contained in:
parent
827abde41b
commit
457dbbb7de
12 changed files with 63 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue