add plan to scheduled node

This commit is contained in:
Yisroel Baum 2026-02-25 10:16:59 +02:00
parent fd0ee57149
commit 412a74e390
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 15 additions and 0 deletions

View file

@ -2,6 +2,7 @@
namespace App\ScheduledNode;
use App\Plan\Plan;
use DateTimeImmutable;
class ScheduledNode
@ -9,5 +10,11 @@ class ScheduledNode
public function __construct(
private int $id,
private DateTimeImmutable $date,
private Plan $plan,
) {}
public function getPlan(): Plan
{
return $this->plan;
}
}