node entity
This commit is contained in:
parent
dce04278ea
commit
3ddca5687b
1 changed files with 15 additions and 0 deletions
15
app/Node/Node.php
Normal file
15
app/Node/Node.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Node;
|
||||
|
||||
class Node
|
||||
{
|
||||
public function __construct(
|
||||
private string $title,
|
||||
) {}
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue