add element icons

This commit is contained in:
Yisroel Baum 2026-05-27 21:14:24 +03:00
parent ac7af2463d
commit f3f500d491
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
12 changed files with 49 additions and 0 deletions

View file

@ -10,6 +10,7 @@ class Element
private int $id,
private string $title,
private string $description,
private ?string $iconImageUrl,
private string $richText,
private ?string $pdfPath,
private ?string $youtubeUrl,
@ -33,6 +34,11 @@ class Element
return $this->description;
}
public function getIconImageUrl(): ?string
{
return $this->iconImageUrl;
}
public function getRichText(): string
{
return $this->richText;