add set elements

This commit is contained in:
Yisroel Baum 2026-05-24 22:32:46 +03:00
parent db35a97910
commit 2c4cdabc15
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
17 changed files with 497 additions and 0 deletions

View file

@ -0,0 +1,35 @@
<?php
namespace App\Element;
use App\Set\Set;
class Element
{
public function __construct(
private int $id,
private string $title,
private Set $set,
private ?Element $parentElement,
) {}
public function getId(): int
{
return $this->id;
}
public function getTitle(): string
{
return $this->title;
}
public function getSet(): Set
{
return $this->set;
}
public function getParentElement(): ?Element
{
return $this->parentElement;
}
}