add find method to node repo and impl to fake repo
This commit is contained in:
parent
725b895de9
commit
483110f773
2 changed files with 36 additions and 1 deletions
|
|
@ -7,4 +7,6 @@ use App\Node\Node;
|
|||
interface NodeRepository
|
||||
{
|
||||
public function create(CreateNodeDto $dto): Node;
|
||||
|
||||
public function find(int $id): ?Node;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue