refactor element updates

This commit is contained in:
Yisroel Baum 2026-05-28 20:33:14 +03:00
parent 581852ecbc
commit d334745ade
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
19 changed files with 453 additions and 75 deletions

View file

@ -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;