add explicit set levels

This commit is contained in:
Yisroel Baum 2026-08-11 22:47:34 +03:00
parent 7e8850b1b2
commit 0d102fcee0
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
7 changed files with 223 additions and 0 deletions

View file

@ -0,0 +1,33 @@
<?php
namespace App\Set;
final readonly class SetLevel
{
public function __construct(
private int $id,
private Set $set,
private string $kind,
private int $depth,
) {}
public function getId(): int
{
return $this->id;
}
public function getSet(): Set
{
return $this->set;
}
public function getKind(): string
{
return $this->kind;
}
public function getDepth(): int
{
return $this->depth;
}
}