add text to node
This commit is contained in:
parent
e55133ceac
commit
c0994d806e
5 changed files with 17 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ class FakeNodeRepository implements NodeRepository
|
|||
public function create(CreateNodeDto $dto): Node
|
||||
{
|
||||
return new Node(
|
||||
text: $dto->text,
|
||||
title: $dto->title,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue