schedule explicit set levels
This commit is contained in:
parent
a64df64b76
commit
3cf1aff6a9
10 changed files with 156 additions and 38 deletions
|
|
@ -7,10 +7,12 @@ use App\Set\Set;
|
|||
final readonly class SetLayout
|
||||
{
|
||||
/**
|
||||
* @param list<SetLayoutLevel> $levels
|
||||
* @param list<ElementLayoutNode> $elements
|
||||
*/
|
||||
public function __construct(
|
||||
private Set $set,
|
||||
private array $levels,
|
||||
private array $elements,
|
||||
) {}
|
||||
|
||||
|
|
@ -19,6 +21,14 @@ final readonly class SetLayout
|
|||
return $this->set;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return list<SetLayoutLevel>
|
||||
*/
|
||||
public function getLevels(): array
|
||||
{
|
||||
return $this->levels;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return list<ElementLayoutNode>
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue