Goal-Calibration/app/Node/Node.php
2026-02-20 12:01:53 +02:00

23 lines
322 B
PHP

<?php
namespace App\Node;
use App\Text\Text;
class Node
{
public function __construct(
private string $title,
private Text $text,
) {}
public function getTitle(): string
{
return $this->title;
}
public function getText(): Text
{
return $this->text;
}
}