refactor element updates
This commit is contained in:
parent
581852ecbc
commit
d334745ade
19 changed files with 453 additions and 75 deletions
|
|
@ -29,31 +29,61 @@ class Element
|
|||
return $this->title;
|
||||
}
|
||||
|
||||
public function setTitle(string $title): void
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
public function getDescription(): string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
public function setDescription(string $description): void
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
|
||||
public function getIconImageUrl(): ?string
|
||||
{
|
||||
return $this->iconImageUrl;
|
||||
}
|
||||
|
||||
public function setIconImageUrl(?string $iconImageUrl): void
|
||||
{
|
||||
$this->iconImageUrl = $iconImageUrl;
|
||||
}
|
||||
|
||||
public function getRichText(): string
|
||||
{
|
||||
return $this->richText;
|
||||
}
|
||||
|
||||
public function setRichText(string $richText): void
|
||||
{
|
||||
$this->richText = $richText;
|
||||
}
|
||||
|
||||
public function getPdfPath(): ?string
|
||||
{
|
||||
return $this->pdfPath;
|
||||
}
|
||||
|
||||
public function setPdfPath(?string $pdfPath): void
|
||||
{
|
||||
$this->pdfPath = $pdfPath;
|
||||
}
|
||||
|
||||
public function getYoutubeUrl(): ?string
|
||||
{
|
||||
return $this->youtubeUrl;
|
||||
}
|
||||
|
||||
public function setYoutubeUrl(?string $youtubeUrl): void
|
||||
{
|
||||
$this->youtubeUrl = $youtubeUrl;
|
||||
}
|
||||
|
||||
public function getSet(): Set
|
||||
{
|
||||
return $this->set;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue