add element youtube url

This commit is contained in:
Yisroel Baum 2026-05-27 20:37:45 +03:00
parent f9c4d72e60
commit ff58f23bb7
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
10 changed files with 27 additions and 0 deletions

View file

@ -12,6 +12,7 @@ class Element
private string $description,
private string $richText,
private ?string $pdfPath,
private ?string $youtubeUrl,
private Set $set,
private ?Element $parentElement,
) {
@ -42,6 +43,11 @@ class Element
return $this->pdfPath;
}
public function getYoutubeUrl(): ?string
{
return $this->youtubeUrl;
}
public function getSet(): Set
{
return $this->set;