add element descriptions
This commit is contained in:
parent
f2dc1483dd
commit
72e4720787
10 changed files with 47 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ class Element
|
|||
public function __construct(
|
||||
private int $id,
|
||||
private string $title,
|
||||
private string $description,
|
||||
private Set $set,
|
||||
private ?Element $parentElement,
|
||||
) {
|
||||
|
|
@ -24,6 +25,11 @@ class Element
|
|||
return $this->title;
|
||||
}
|
||||
|
||||
public function getDescription(): string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
public function getSet(): Set
|
||||
{
|
||||
return $this->set;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue